1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #21287 -- Fixed E123 pep8 warnings

This commit is contained in:
Alasdair Nicol
2013-10-18 10:02:43 +01:00
parent 65750b8352
commit a800036981
71 changed files with 152 additions and 152 deletions

View File

@@ -147,7 +147,7 @@ class BaseFormSet(object):
'auto_id': self.auto_id,
'prefix': self.add_prefix(i),
'error_class': self.error_class,
}
}
if self.is_bound:
defaults['data'] = self.data
defaults['files'] = self.files

View File

@@ -688,7 +688,7 @@ class BaseModelFormSet(BaseFormSet):
return ugettext("Please correct the duplicate data for %(field)s, "
"which must be unique.") % {
"field": get_text_list(unique_check, six.text_type(_("and"))),
}
}
def get_date_error_message(self, date_check):
return ugettext("Please correct the duplicate data for %(field_name)s "