mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
Thanks andreage for the report and suggested fix.
This commit is contained in:
@@ -22,3 +22,7 @@ Bugfixes
|
||||
* Fixed a regression in Django 2.1.4 (which enabled keep-alive connections)
|
||||
where request body data isn't properly consumed for such connections
|
||||
(:ticket:`30015`).
|
||||
|
||||
* Fixed a regression in Django 2.1.4 where
|
||||
``InlineModelAdmin.has_change_permission()`` is incorrectly called with a
|
||||
non-``None`` ``obj`` argument during an object add (:ticket:`30050`).
|
||||
|
||||
Reference in New Issue
Block a user