diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 2 | ||||
| -rw-r--r-- | docs/releases/1.11.txt | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 53d3ef4e9c..29f4479c5a 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -46,6 +46,8 @@ details on these changes. * The ``USE_ETAGS`` setting will be removed. ``CommonMiddleware`` and ``django.utils.cache.patch_response_headers()`` will no longer set ETags. +* The ``Model._meta.has_auto_field`` attribute will be removed. + .. _deprecation-removed-in-2.0: 2.0 diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index c8c64ab9c9..1b301078f1 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -707,3 +707,6 @@ Miscellaneous ``ETag`` header to responses regardless of the setting. ``CommonMiddleware`` and ``django.utils.cache.patch_response_headers()`` will no longer set ETags when the deprecation ends. + +* ``Model._meta.has_auto_field`` is deprecated in favor of checking if + ``Model._meta.auto_field is not None``. |
