summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.0.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt
index 2e345f6fe5..5bb0691363 100644
--- a/docs/releases/3.0.txt
+++ b/docs/releases/3.0.txt
@@ -304,6 +304,12 @@ Models
a certain (database-dependent) limit. Values from ``1`` to ``32767`` are safe
in all databases supported by Django.
+* :class:`~django.db.models.AutoField`,
+ :class:`~django.db.models.BigAutoField`, and
+ :class:`~django.db.models.SmallAutoField` now inherit from
+ ``IntegerField``, ``BigIntegerField`` and ``SmallIntegerField`` respectively.
+ System checks and validators are now also properly inherited.
+
* :attr:`.FileField.upload_to` now supports :class:`pathlib.Path`.
Requests and Responses
@@ -402,6 +408,11 @@ backends.
* ``DatabaseOperations.return_insert_id()`` now requires an additional
``field`` argument with the model field.
+* Entries for ``AutoField``, ``BigAutoField``, and ``SmallAutoField`` are added
+ to ``DatabaseOperations.integer_field_ranges`` to support the integer range
+ validators on these field types. Third-party backends may need to customize
+ the default entries.
+
:mod:`django.contrib.admin`
---------------------------