Commit b2165cc7 by Stephan Groß

Fix for python 3 support - thanks @Linovia

parent 9157db5d
......@@ -448,7 +448,7 @@ class DateField(WritableField):
form_field_class = forms.DateField
default_error_messages = {
'invalid': _(u"Date has wrong format. Use one of these formats instead: %s"),
'invalid': _("Date has wrong format. Use one of these formats instead: %s"),
}
empty = None
......@@ -489,7 +489,7 @@ class DateTimeField(WritableField):
form_field_class = forms.DateTimeField
default_error_messages = {
'invalid': _(u"Datetime has wrong format. Use one of these formats instead: %s"),
'invalid': _("Datetime has wrong format. Use one of these formats instead: %s"),
}
empty = None
......@@ -536,7 +536,7 @@ class TimeField(WritableField):
form_field_class = forms.TimeField
default_error_messages = {
'invalid': _(u"Time has wrong format. Use one of these formats instead: %s"),
'invalid': _("Time has wrong format. Use one of these formats instead: %s"),
}
empty = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment