1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Created django.contrib.localflavor, for country- and culture-specific functionality. Moved django/newforms/extras/usa.py into there

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2007-02-15 05:53:44 +00:00
parent b93614ada6
commit 27b28616b4
5 changed files with 10 additions and 1 deletions

View File

@@ -3225,7 +3225,7 @@ True
USZipCodeField validates that the data is either a five-digit U.S. zip code or
a zip+4.
>>> from django.newforms.extras.usa import USZipCodeField
>>> from django.contrib.localflavor.usa.forms import USZipCodeField
>>> f = USZipCodeField()
>>> f.clean('60606')
u'60606'