Skip to content

Commit

Permalink
Fixed #6227 -- Migrations should only depend on initial content type …
Browse files Browse the repository at this point in the history
…migration (#6261)
  • Loading branch information
czpython committed Feb 3, 2018
1 parent 43c4580 commit 88feb7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* Fixed a bug where the sitemap would ignore the ``public`` setting of the site languages
and thus display hidden languages.
* Fixed an ``AttributeError`` raised when adding or removing apphooks in Django 1.11.
* Fixed an ``InconsistentMigrationHistory`` error raised when the contenttypes app
has a pending migration after the user has applied the ``0010_migrate_use_structure`` migration.


=== 3.4.5 (2017-10-12) ===
Expand Down
2 changes: 1 addition & 1 deletion cms/migrations/0010_migrate_use_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Migration(migrations.Migration):

dependencies = [
('cms', '0009_merge'),
('contenttypes', '__latest__'),
('contenttypes', '0001_initial'),
]

operations = [
Expand Down
2 changes: 1 addition & 1 deletion cms/migrations/0014_auto_20160404_1908.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Migration(migrations.Migration):

dependencies = [
('cms', '0013_urlconfrevision'),
('contenttypes', '__latest__'),
('contenttypes', '0001_initial'),
]

operations = [
Expand Down

0 comments on commit 88feb7e

Please sign in to comment.