diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.7.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 1390317875..32b5e910a1 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -336,6 +336,14 @@ 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 + 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. + * ``django.contrib.auth.models.AbstractUser`` no longer defines a :meth:`~django.db.models.Model.get_absolute_url()` method. The old definition returned ``"/users/%s/" % urlquote(self.username)`` which was arbitrary |
