1
0
mirror of https://github.com/django/django.git synced 2025-10-27 23:56:08 +00:00

Fixed #24497 -- Added Widget.supports_microseconds attribute

This commit is contained in:
wdmgsm
2015-04-08 16:59:15 +01:00
committed by Tim Graham
parent 6123e6134f
commit 4dcc649341
3 changed files with 14 additions and 1 deletions

View File

@@ -180,6 +180,7 @@ class Widget(six.with_metaclass(MediaDefiningClass)):
needs_multipart_form = False # Determines does this widget need multipart form
is_localized = False
is_required = False
supports_microseconds = True
def __init__(self, attrs=None):
if attrs is not None: