summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-09-09 14:22:29 -0400
committerTim Graham <timograham@gmail.com>2013-09-09 14:22:29 -0400
commit910a5760f6f5ffc42b4b264b08057207b8e26106 (patch)
tree87afb690758d1abbacaf7f4fd82b934247fe69b2 /docs
parent0d74f9553c6acb8b53a502ca5e39542dcc4412c1 (diff)
Improved release notes for ticket #10164
Thanks Aymeric for the suggestions. refs #10164
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.7.txt17
1 files changed, 11 insertions, 6 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index d6c9dc4b5c..fdba5a80a5 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -345,13 +345,18 @@ Miscellaneous
when called on an instance without a primary key value. This is done to
avoid mutable ``__hash__`` values in containers.
-* The :meth:`django.db.backends.sqlite3.DatabaseCreation.sql_create_model`
- will now create :class:`~django.db.models.AutoField` columns in SQLite
- databases using the ``AUTOINCREMENT`` option, which guarantees monotonic
+* :class:`~django.db.models.AutoField` columns in SQLite databases will now be
+ created using the ``AUTOINCREMENT`` option, which guarantees monotonic
increments. This will cause primary key numbering behavior to change on
- SQLite, becoming consistent with most other SQL databases. If you have a
- database created with an older version of Django, you will need to migrate
- it to take advantage of this feature. See ticket #10164 for details.
+ SQLite, becoming consistent with most other SQL databases. This will only
+ apply to newly created tables. If you have a database created with an older
+ version of Django, you will need to migrate it to take advantage of this
+ feature. For example, you could do the following:
+
+ #) Use :djadmin:`dumpdata` to save your data.
+ #) Rename the existing database file (keep it as a backup).
+ #) Run :djadmin:`migrate` to create the updated schema.
+ #) Use :djadmin:`loaddata` to import the fixtures you exported in (1).
* ``django.contrib.auth.models.AbstractUser`` no longer defines a
:meth:`~django.db.models.Model.get_absolute_url()` method. The old definition