Permalink
Browse files

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
  • Loading branch information...
malcolmt committed Dec 17, 2007
1 parent 14ed0ef commit 06482d4aa48d614f872043b6a6475d44cbdf2cb6
Showing with 15 additions and 1 deletion.
  1. +5 −1 docs/add_ons.txt
  2. +10 −0 docs/localflavor.txt
View
@@ -181,9 +181,13 @@ localflavor
=========== ===========
A collection of various Django snippets that are useful only for a particular 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. contains a ``USZipCodeField`` that you can use to validate U.S. zip codes.
See the `localflavor documentation`_.
.. _localflavor documentation: ../localflavor/
markup markup
====== ======
View
@@ -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 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. 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``) United States of America (``django.contrib.localflavor.us``)
============================================================ ============================================================

0 comments on commit 06482d4

Please sign in to comment.