Fixed #26060 -- Fixed crash with reverse OneToOneField in ModelAdmin.readonly_fields.

This commit is contained in:
Alexander Gaevsky 2016-01-09 22:15:21 +02:00 committed by Tim Graham
parent fb4272f0e6
commit 9a33d3d764
6 changed files with 87 additions and 13 deletions

View file

@ -26,3 +26,6 @@ Bugfixes
* Fixed a crash when using an ``__in`` lookup inside a ``Case`` expression
(:ticket:`26071`).
* Fixed a crash when using a reverse ``OneToOneField`` in
``ModelAdmin.readonly_fields`` (:ticket:`26060`).

View file

@ -49,3 +49,6 @@ Bugfixes
SQLite with more than 2000 parameters when :setting:`DEBUG` is ``True`` on
distributions that increase the ``SQLITE_MAX_VARIABLE_NUMBER`` compile-time
limit to over 2000, such as Debian (:ticket:`26063`).
* Fixed a crash when using a reverse ``OneToOneField`` in
``ModelAdmin.readonly_fields`` (:ticket:`26060`).