mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #31530 -- Added system checks for invalid model field names in CheckConstraint.check and UniqueConstraint.condition.
This commit is contained in:
committed by
Mariusz Felisiak
parent
659a73bc0a
commit
b7b7df5fbc
@@ -364,6 +364,7 @@ Models
|
||||
non-key columns.
|
||||
* **models.W040**: ``<database>`` does not support indexes with non-key
|
||||
columns.
|
||||
* **models.E041**: ``constraints`` refers to the joined field ``<field name>``.
|
||||
|
||||
Security
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user