1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #27532 -- Deprecated Model._meta.has_auto_field

This commit is contained in:
Adam Chainz
2016-11-23 22:04:10 +00:00
committed by Tim Graham
parent cb7bbf97a7
commit 6252fd6314
7 changed files with 46 additions and 8 deletions

View File

@@ -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``.