summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-12-17 08:58:29 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-12-17 08:58:29 +0000
commit06482d4aa48d614f872043b6a6475d44cbdf2cb6 (patch)
treedbda2334c66eb9cc15f2d75556168d4924d8a906 /docs
parent14ed0efec9d497a2e64723b41429aa62fac78b89 (diff)
Fixed #6136 -- Updated the localflavor documentation. Patch from Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/add_ons.txt6
-rw-r--r--docs/localflavor.txt10
2 files changed, 15 insertions, 1 deletions
diff --git a/docs/add_ons.txt b/docs/add_ons.txt
index 137c357346..029e314f12 100644
--- a/docs/add_ons.txt
+++ b/docs/add_ons.txt
@@ -181,9 +181,13 @@ localflavor
===========
A collection of various Django snippets that are useful only for a particular
-country or culture. For example, ``django.contrib.localflavor.usa.forms``
+country or culture. For example, ``django.contrib.localflavor.us.forms``
contains a ``USZipCodeField`` that you can use to validate U.S. zip codes.
+See the `localflavor documentation`_.
+
+.. _localflavor documentation: ../localflavor/
+
markup
======
diff --git a/docs/localflavor.txt b/docs/localflavor.txt
index 3eecba57e7..fe2d195f65 100644
--- a/docs/localflavor.txt
+++ b/docs/localflavor.txt
@@ -611,6 +611,16 @@ A form field that validates input as a UK postcode. The regular
expression used is sourced from the schema for British Standard BS7666
address types at http://www.govtalk.gov.uk/gdsc/schemas/bs7666-v2-0.xsd.
+UKCountySelect
+--------------
+
+A ``Select`` widget that uses a list of UK counties/regions as its choices.
+
+UKNationSelect
+--------------
+
+A ``Select`` widget that uses a list of UK nations as its choices.
+
United States of America (``django.contrib.localflavor.us``)
============================================================