summaryrefslogtreecommitdiff
path: root/tests/regressiontests/forms/tests.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-02-15 05:53:44 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-02-15 05:53:44 +0000
commit27b28616b405578d81fb8e6a4efdc73459c81a2b (patch)
tree95c21dc418121df6fd769559d2d4d0f392c93058 /tests/regressiontests/forms/tests.py
parentb93614ada658087cbc90403ee8f36d7f8c947dfe (diff)
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
Diffstat (limited to 'tests/regressiontests/forms/tests.py')
-rw-r--r--tests/regressiontests/forms/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/forms/tests.py b/tests/regressiontests/forms/tests.py
index 080131ad01..5c360a7272 100644
--- a/tests/regressiontests/forms/tests.py
+++ b/tests/regressiontests/forms/tests.py
@@ -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'