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``) ============================================================