diff --git a/django/forms/fields.py b/django/forms/fields.py index 02c4c3db88..ee9b8c62f1 100644 --- a/django/forms/fields.py +++ b/django/forms/fields.py @@ -311,7 +311,7 @@ DEFAULT_TIME_INPUT_FORMATS = ( ) class TimeField(Field): - widget = TimeInput() + widget = TimeInput default_error_messages = { 'invalid': _(u'Enter a valid time.') }