django1/django/db
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
..
backends Optimized BaseDatabaseSchemaEditor._effective_default() a bit, 2021-07-28 08:12:01 +02:00
migrations Fixed typos in migrations tests, comments, and error message. 2021-08-04 09:28:23 +02:00
models Fixed #32983 -- Added system check for redundant related_name on symmetrical M2M fields. 2021-08-06 11:57:02 +02:00
__init__.py Fixed #32233 -- Cleaned-up duplicate connection functionality. 2020-12-08 08:55:44 +01:00
transaction.py Fixed #32220 -- Added durable argument to transaction.atomic(). 2020-11-27 21:43:15 +01:00
utils.py Refs #25175 -- Removed postgresql_psycopg2 in django.db.utils.load_backend(). 2021-01-06 20:15:14 +01:00