Ticket #6136: localflavor.diff

File localflavor.diff, 1.3 KB (added by Nick Efford, 17 years ago)

Patch to update localflavor and add-ons documentation

  • docs/add_ons.txt

     
    177177===========
    178178
    179179A collection of various Django snippets that are useful only for a particular
    180 country or culture. For example, ``django.contrib.localflavor.usa.forms``
     180country or culture. For example, ``django.contrib.localflavor.us.forms``
    181181contains a ``USZipCodeField`` that you can use to validate U.S. zip codes.
    182182
     183See the `localflavor documentation`_.
     184
     185.. _localflavor documentation: ../localflavor/
     186
    183187markup
    184188======
    185189
  • docs/localflavor.txt

     
    611611expression used is sourced from the schema for British Standard BS7666
    612612address types at http://www.govtalk.gov.uk/gdsc/schemas/bs7666-v2-0.xsd.
    613613
     614UKCountySelect
     615--------------
    614616
     617A ``Select`` widget that uses a list of UK counties/regions as its choices.
     618
     619UKNationSelect
     620--------------
     621
     622A ``Select`` widget that uses a list of UK nations as its choices.
     623
     624
    615625United States of America (``django.contrib.localflavor.us``)
    616626============================================================
    617627
Back to Top