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:
@@ -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``.
|
||||
|
||||
Reference in New Issue
Block a user