1
0
mirror of https://github.com/django/django.git synced 2025-02-24 00:55:17 +00:00
django/tests/invalid_models_tests
André Ericson 1e5e2a4707 Fixed #22064 -- Add check for related_name
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.
2014-10-04 20:47:26 -03:00
..