diff options
Diffstat (limited to 'tests/timezones/forms.py')
-rw-r--r-- | tests/timezones/forms.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/timezones/forms.py b/tests/timezones/forms.py new file mode 100644 index 0000000000..3c9c31167e --- /dev/null +++ b/tests/timezones/forms.py @@ -0,0 +1,13 @@ +from django import forms + +from .models import Event + +class EventForm(forms.Form): + dt = forms.DateTimeField() + +class EventSplitForm(forms.Form): + dt = forms.SplitDateTimeField() + +class EventModelForm(forms.ModelForm): + class Meta: + model = Event |