diff options
| author | Nick Touran <nick@partofthething.com> | 2021-08-04 13:19:29 -0700 |
|---|---|---|
| committer | Carlton Gibson <carlton@noumenal.es> | 2021-08-06 11:57:02 +0200 |
| commit | 5d4f21b16f002ed5202a68d6977346ccf53b0b0e (patch) | |
| tree | 37b2bf5ee9bd6b549020dc34a67bdd3ede217519 /tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py | |
| parent | 1fb21ab3770bdc07fc847e131fa252759befadd2 (diff) | |
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
Diffstat (limited to 'tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py')
0 files changed, 0 insertions, 0 deletions
