Fixed #31021 -- Fixed proxy model permissions data migration crash with a multiple databases setup.

Regression in 98296f86b3.
This commit is contained in:
Mariusz Felisiak 2019-11-28 11:46:08 +01:00
parent 86a0231e0a
commit e8fcdaad5c
3 changed files with 66 additions and 20 deletions

View file

@ -13,3 +13,7 @@ Bugfixes
* Fixed a data loss possibility in the admin changelist view when a custom
:ref:`formset's prefix <formset-prefix>` contains regular expression special
characters, e.g. `'$'` (:ticket:`31031`).
* Fixed a regression in Django 2.2.1 that caused a crash when migrating
permissions for proxy models with a multiple database setup if the
``default`` entry was empty (:ticket:`31021`).