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