1
0
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:
shanghui
2017-12-29 09:22:20 +08:00
committed by Tim Graham
parent fbf647287e
commit cc6bcc6ff5
3 changed files with 42 additions and 3 deletions

View File

@@ -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
--------