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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user