Example #1
0
 class DateTimeForm(forms.Form):
     dt = forms.DateTimeField(initial=value,
                              widget=forms.SplitDateTimeWidget)
Example #2
0
 class DateTimeForm(forms.Form):
     date = forms.DateTimeField()
Example #3
0
class UpdateExpirationForm(forms.Form):
    expire_time = forms.DateTimeField(
        widget=DateTimeWidget(usel10n=True, bootstrap_version=3))