mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
[5.0.x] Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
Backport of 305757aec1 from main
This commit is contained in:
@@ -41,9 +41,11 @@ class CustomManyToManyField(RelatedField):
|
||||
related_name=related_name,
|
||||
related_query_name=related_query_name,
|
||||
limit_choices_to=limit_choices_to,
|
||||
symmetrical=symmetrical
|
||||
if symmetrical is not None
|
||||
else (to == RECURSIVE_RELATIONSHIP_CONSTANT),
|
||||
symmetrical=(
|
||||
symmetrical
|
||||
if symmetrical is not None
|
||||
else (to == RECURSIVE_RELATIONSHIP_CONSTANT)
|
||||
),
|
||||
through=through,
|
||||
through_fields=through_fields,
|
||||
db_constraint=db_constraint,
|
||||
|
||||
Reference in New Issue
Block a user