mirror of
https://github.com/django/django.git
synced 2024-11-18 23:44:22 +00:00
b5a4aef43d
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
14 lines
398 B
Python
14 lines
398 B
Python
from django import template, forms
|
|
from django.forms.extras import SelectDateWidget
|
|
|
|
class I18nForm(forms.Form):
|
|
decimal_field = forms.DecimalField()
|
|
float_field = forms.FloatField()
|
|
date_field = forms.DateField()
|
|
datetime_field = forms.DateTimeField()
|
|
time_field = forms.TimeField()
|
|
|
|
class SelectDateForm(forms.Form):
|
|
date_field = forms.DateField(widget=SelectDateWidget)
|
|
|