summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-10-29 16:41:26 -0400
committerTim Graham <timograham@gmail.com>2015-10-30 10:31:05 -0400
commit8b1c386f80638878f295860a26ecbd19d59cde9c (patch)
tree02f536235f0619b341bf81ed723ce9c30492b694 /docs
parent31a51a04e899f1fa7fa77be38e3484074d930369 (diff)
[1.9.x] Fixed #25100 -- Documented an upgrade caveat for contenttypes migration.
Backport of 81b55fb90078788bfdc064550f2ff9da2c79d3b6 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.8.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index 30204209d9..ddb42f4065 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -1181,6 +1181,12 @@ Miscellaneous
has been removed by a migration and replaced by a property. That means it's
not possible to query or filter a ``ContentType`` by this field any longer.
+ Be careful if you upgrade to Django 1.8 and skip Django 1.7. If you run
+ ``manage.py migrate --fake``, this migration will be skipped and you'll see
+ a ``RuntimeError: Error creating new content types.`` exception because the
+ ``name`` column won't be dropped from the database. Use ``migrate.py migrate
+ --fake-initial`` to fake only the initial migration instead.
+
* :djadmin:`migrate` now accepts the :djadminopt:`--fake-initial` option to
allow faking initial migrations. In 1.7 initial migrations were always
automatically faked if all tables created in an initial migration already