1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

[2.1.x] Fixed typos in comments and docs.

Backport of 97e637a87f from master
This commit is contained in:
luz.paz
2018-08-01 12:55:53 -04:00
committed by Tim Graham
parent 7da1e45dc5
commit adfd261404
19 changed files with 21 additions and 22 deletions

View File

@@ -317,7 +317,7 @@ class SelectDateWidgetTest(WidgetTest):
def test_selectdate_empty_label(self):
w = SelectDateWidget(years=('2014',), empty_label='empty_label')
# Rendering the default state with empty_label setted as string.
# Rendering the default state with empty_label set as string.
self.assertInHTML('<option selected value="">empty_label</option>', w.render('mydate', ''), count=3)
w = SelectDateWidget(years=('2014',), empty_label=('empty_year', 'empty_month', 'empty_day'))