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

Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).

This partially reverts 983c158da7
This commit is contained in:
Collin Anderson
2016-08-18 12:45:27 -04:00
committed by Tim Graham
parent a3db480393
commit 384f89f8f8
5 changed files with 20 additions and 15 deletions

View File

@@ -61,3 +61,7 @@ Bugfixes
* Fixed ``contrib.admindocs`` crash when a view is in a class, such as some of
the admin views (:ticket:`27018`).
* Reverted a few admin checks that checked ``field.many_to_many`` back to
``isinstance(field, models.ManyToManyField)`` since it turned out the checks
weren't suitable to be generalized like that (:ticket:`26998`).