mirror of
https://github.com/django/django.git
synced 2025-01-22 00:02:15 +00:00
Corrected docstring quotes in various code.
This commit is contained in:
parent
f7806193e6
commit
75d7af43c1
@ -776,7 +776,7 @@ class CheckboxSelectMultiple(ChoiceWidget):
|
||||
return False
|
||||
|
||||
def id_for_label(self, id_, index=None):
|
||||
""""
|
||||
"""
|
||||
Don't include for="field_0" in <label> because clicking such a label
|
||||
would toggle the first checkbox.
|
||||
"""
|
||||
|
@ -194,7 +194,7 @@ class DjangoAdminNoSettings(AdminScriptTestCase):
|
||||
self.assertOutput(err, "No module named '?bad_settings'?", regex=True)
|
||||
|
||||
def test_commands_with_invalid_settings(self):
|
||||
""""
|
||||
"""
|
||||
Commands that don't require settings succeed if the settings file
|
||||
doesn't exist.
|
||||
"""
|
||||
|
@ -266,7 +266,7 @@ class FormsFormsetTestCase(SimpleTestCase):
|
||||
self.assertEqual([form.cleaned_data for form in formset.forms], [{}, {}, {}])
|
||||
|
||||
def test_min_num_displaying_more_than_one_blank_form(self):
|
||||
""""
|
||||
"""
|
||||
More than 1 empty form can also be displayed using formset_factory's
|
||||
min_num argument. It will (essentially) increment the extra argument.
|
||||
"""
|
||||
|
@ -196,7 +196,7 @@ class CheckboxSelectMultipleTest(WidgetTest):
|
||||
self.assertIs(widget.value_omitted_from_data({'field': 'value'}, {}, 'field'), False)
|
||||
|
||||
def test_label(self):
|
||||
""""
|
||||
"""
|
||||
CheckboxSelectMultiple doesn't contain 'for="field_0"' in the <label>
|
||||
because clicking that would toggle the first checkbox.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user