mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed #31530 -- Added system checks for invalid model field names in CheckConstraint.check and UniqueConstraint.condition.
This commit is contained in:
parent
659a73bc0a
commit
b7b7df5fbc
3 changed files with 296 additions and 3 deletions
|
|
@ -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
|
||||
--------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue