mirror of
https://github.com/django/django.git
synced 2025-10-30 00:56:09 +00:00
Updated i18n tests a little to handle test failures better and updated Argentinian Spanish format strings. Thanks to Ramiro Morales. Refs #11637.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
13
tests/regressiontests/i18n/forms.py
Normal file
13
tests/regressiontests/i18n/forms.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user