Fixed #32635 -- Fixed system check crash for reverse o2o relations in CheckConstraint.check and UniqueConstraint.condition.

Regression in b7b7df5fbc.

Thanks Szymon Zmilczak for the report.
This commit is contained in:
Hasan Ramezani 2021-04-13 11:51:19 +02:00 committed by Mariusz Felisiak
parent 33abc55601
commit a77c9a4229
3 changed files with 49 additions and 0 deletions

View file

@ -22,3 +22,7 @@ Bugfixes
* Restored, following a regression in Django 3.2, displaying an exception
message on the technical 404 debug page (:ticket:`32637`).
* Fixed a bug in Django 3.2 where a system check would crash on a reverse
one-to-one relationships in ``CheckConstraint.check`` or
``UniqueConstraint.condition`` (:ticket:`32635`).