mirror of
https://github.com/django/django.git
synced 2024-12-25 18:46:22 +00:00
9b1cb755a2
For more information on this project, see this thread: http://groups.google.com/group/django-developers/browse_thread/thread/cf0423bbb85b1bbf git-svn-id: http://code.djangoproject.com/svn/django/trunk@17106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
14 lines
262 B
Python
14 lines
262 B
Python
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
|