mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
13
tests/timezones/forms.py
Normal file
13
tests/timezones/forms.py
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user