[2.2.x] Fixed #30330 -- Fixed setting of primary key to None during fast-delete.

Regression in bc7dd8490b.

Backport of afc708cf6d from master
This commit is contained in:
Florian Apolloner 2019-04-05 17:52:59 +02:00 committed by Mariusz Felisiak
parent 53c83387cf
commit b88ffef7ea
3 changed files with 13 additions and 0 deletions

View file

@ -22,3 +22,6 @@ Bugfixes
:class:`~django.contrib.postgres.aggregates.ArrayAgg` and
:class:`~django.contrib.postgres.aggregates.StringAgg` when it contains an
expression with params (:ticket:`30332`).
* Fixed a regression in Django 2.2 that caused a single instance fast-delete
to not set the primary key to ``None`` (:ticket:`30330`).