1
0
mirror of https://github.com/django/django.git synced 2025-10-30 00:56:09 +00:00

Refs #36500 -- Shortened some long docstrings and comments.

Manually reformatted some long docstrings and comments that would be
damaged by the to-be-applied autofixer script, in cases where editorial
judgment seemed necessary for style or wording changes.
This commit is contained in:
Mike Edmunds
2025-07-22 20:40:48 -07:00
committed by nessita
parent 5527df9192
commit 55b0cc2131
44 changed files with 157 additions and 118 deletions

View File

@@ -3067,7 +3067,7 @@ class OtherModelFormTests(TestCase):
'<label for="id_url">The URL:</label><input type="text" name="url" '
'maxlength="40" required id="id_url"></div>',
)
# to_field_name should also work on ModelMultipleChoiceField ##################
# to_field_name should also work on ModelMultipleChoiceField.
field = forms.ModelMultipleChoiceField(
Inventory.objects.all(), to_field_name="barcode"