mirror of https://github.com/django/django.git
1e5e2a4707
Validates that related_name is a valid Python id or ends with a '+' and it's not a keyword. Without a check it passed silently leading to unpredictable problems. Thanks Konrad Świat for the initial work. |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_backend_specific.py | ||
test_models.py | ||
test_ordinary_fields.py | ||
test_relative_fields.py |