mirror of
https://github.com/django/django.git
synced 2024-11-18 07:26:04 +00:00
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 |