mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #28867 -- Added system check for a model property that clashes with a related field accessor.
This commit is contained in:
@@ -292,6 +292,8 @@ Models
|
||||
underscore as it collides with the query lookup syntax.
|
||||
* **models.E024**: The model name ``<model>`` cannot contain double underscores
|
||||
as it collides with the query lookup syntax.
|
||||
* **models.E025**: The property ``<property name>`` clashes with a related
|
||||
field accessor.
|
||||
|
||||
Security
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user