Fix #55 -- Datetime picker for input fields

This commit is contained in:
Raphael Michel
2016-09-17 22:33:39 +02:00
parent ecef64c035
commit f79e1adf25
13 changed files with 3087 additions and 4 deletions

View File

@@ -11,6 +11,9 @@ class ExtendForm(I18nModelForm):
class Meta:
model = Order
fields = ['expires']
widgets = {
'expires': forms.DateTimeInput(attrs={'class': 'datetimepicker'}),
}
class ExporterForm(forms.Form):