From 02c07be95c47efaab9da7422c33ee76142f11336 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 31 Dec 2018 09:18:26 -0500 Subject: Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add. Thanks andreage for the report and suggested fix. --- docs/releases/2.1.5.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/2.1.5.txt b/docs/releases/2.1.5.txt index 73850e01b5..27ffbc7510 100644 --- a/docs/releases/2.1.5.txt +++ b/docs/releases/2.1.5.txt @@ -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`). -- cgit v1.3