django/tests/invalid_models_tests
Nick Touran 5d4f21b16f Fixed #32983 -- Added system check for redundant related_name on symmetrical M2M fields.
Since ManyToManyFields defined with `symmetrical=True` do not add a
related field to the target model, including a `related_name` argument
will never do what the coder likely expects. This makes including
a related_name with a symmetrical model raise a system check warning.

ticket-32983
2021-08-06 11:57:02 +02:00
..
__init__.py
test_backend_specific.py Fixed #31286 -- Made database specific fields checks databases aware. 2020-02-24 14:23:46 +01:00
test_custom_fields.py Made assertions in invalid_models_tests consistent. 2017-07-11 13:12:17 -04:00
test_deprecated_fields.py Refs #12990 -- Removed django.contrib.postgres.fields.JSONField per deprecation timeline. 2021-01-14 17:50:04 +01:00
test_models.py Fixed #32947 -- Fixed hash() crash on reverse M2M relation when through_fields is a list. 2021-07-26 06:09:29 +02:00
test_ordinary_fields.py Fixed #32966 -- Fixed TimeField.check() crash for timezone-aware times in default when USE_TZ = True. 2021-07-30 09:15:39 +02:00
test_relative_fields.py Fixed #32983 -- Added system check for redundant related_name on symmetrical M2M fields. 2021-08-06 11:57:02 +02:00