diff options
| author | Tim Graham <timograham@gmail.com> | 2015-10-29 16:41:26 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-10-30 10:30:19 -0400 |
| commit | 81b55fb90078788bfdc064550f2ff9da2c79d3b6 (patch) | |
| tree | 48d709c0289b5f50688fd744be731eebb765895e /docs | |
| parent | 69239c0f968ee55cb9ca1e31323fb696db0c2aec (diff) | |
Fixed #25100 -- Documented an upgrade caveat for contenttypes migration.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.8.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index eb2260aa91..6df9edd6e6 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -1179,6 +1179,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 |
