summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2013-09-06 12:18:16 -0400
committerTim Graham <timograham@gmail.com>2013-09-06 12:31:17 -0400
commiteade315da1c8372ac1dfcf1fd20ea87f454d71ac (patch)
tree8eeb30580f8ca4a00d2a776e65b88288887f95da /docs
parent630eb0564abd228da439d86ad93acb4089d795e7 (diff)
Fixed #10164 -- Made AutoField increase monotonically on SQLite
Thanks malte for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.7.txt8
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