html5
Widgets for HTML5 elements
-
class bits.html5.DateInput(attrs=None, format=None)[source]
Bases: django.forms.widgets.DateInput
-
input_type = 'date'
-
media
-
class bits.html5.DateTimeInput(attrs=None, format=None)[source]
Bases: django.forms.widgets.DateTimeInput
-
input_type = 'datetime'
-
media
-
class bits.html5.EmailInput(attrs=None)[source]
Bases: django.forms.widgets.TextInput
-
input_type = 'email'
-
media
-
class bits.html5.NumberInput(attrs=None)[source]
Bases: django.forms.widgets.TextInput
-
input_type = 'number'
-
media
-
class bits.html5.TelephoneInput(attrs=None)[source]
Bases: django.forms.widgets.TextInput
-
input_type = 'tel'
-
media
-
class bits.html5.TimeInput(attrs=None, format=None)[source]
Bases: django.forms.widgets.TimeInput
-
input_type = 'time'
-
media