summaryrefslogtreecommitdiff
path: root/tests/model_forms
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_forms')
-rw-r--r--tests/model_forms/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index e96a897f4a..e7bdd1ac89 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -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"