~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/ref/contrib/localflavor.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (4.4.9 sid)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-5rk3p18nyanuhj6g
* SECURITY UPDATE: XSS in CSRF protections. New upstream release
  - CVE-2010-3082
* debian/patches/01_disable_url_verify_regression_tests.diff:
  - updated to disable another test that fails without internet connection
  - patch based on work by Kai Kasurinen and Krzysztof Klimonda
* debian/control: don't Build-Depends on locales-all, which doesn't exist
  in maverick

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _ref-contrib-localflavor:
2
 
 
3
1
==========================
4
2
The "local flavor" add-ons
5
3
==========================
17
15
subpackages, named using `ISO 3166 country codes`_.
18
16
 
19
17
Most of the ``localflavor`` add-ons are localized form components deriving
20
 
from the :ref:`forms <topics-forms-index>` framework -- for example, a
 
18
from the :doc:`forms </topics/forms/index>` framework -- for example, a
21
19
:class:`~django.contrib.localflavor.us.forms.USStateField` that knows how to
22
20
validate U.S. state abbreviations, and a
23
21
:class:`~django.contrib.localflavor.fi.forms.FISocialSecurityNumber` that
74
72
The ``django.contrib.localflavor`` package also includes a ``generic`` subpackage,
75
73
containing useful code that is not specific to one particular country or culture.
76
74
Currently, it defines date, datetime and split datetime input fields based on
77
 
those from :ref:`forms <topics-forms-index>`, but with non-US default formats.
 
75
those from :doc:`forms </topics/forms/index>`, but with non-US default formats.
78
76
Here's an example of how to use them::
79
77
 
80
78
    from django import forms