mirror of
https://github.com/django/django.git
synced 2025-10-28 18:43:19 +00:00
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 | ||