[2.2.x] Fixed #30350 -- Prevented recreation of migration for operations with a range object.

Thanks to Mariusz Felisiak for helping with the patch.

Backport of 2e38f2015a from master.
This commit is contained in:
Florian Apolloner 2019-04-13 15:03:26 +02:00 committed by Mariusz Felisiak
parent 5ed5ce5211
commit 896cc71901
No known key found for this signature in database
GPG key ID: 2EF56372BA48CD1B
3 changed files with 10 additions and 1 deletions

View file

@ -25,3 +25,7 @@ Bugfixes
* Fixed a regression in Django 2.2 that caused a single instance fast-delete
to not set the primary key to ``None`` (:ticket:`30330`).
* Prevented :djadmin:`makemigrations` from generating infinite migrations for
check constraints and partial indexes when ``condition`` contains
a :class:`~python:range` object (:ticket:`30350`).