mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
Fixed #8210 and #8664: moved USStateField
and PhoneNumberField
to django.contrib.localflavor.us
. This is a backwards-incompatible change, albeit a minor one; just add an aditional import
and go on your way.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4f225d44ce
commit
3a18002bbd
14 changed files with 53 additions and 48 deletions
|
@ -705,14 +705,6 @@ Like all ::class:`CharField` subclasses, :class:`URLField` takes the optional
|
|||
:attr:`~CharField.max_length`argument. If you don't specify
|
||||
:attr:`~CharField.max_length`, a default of 200 is used.
|
||||
|
||||
``USStateField``
|
||||
----------------
|
||||
|
||||
.. class:: USStateField([**options])
|
||||
|
||||
A two-letter U.S. state abbreviation. The admin represents this as an ``<input
|
||||
type="text">`` (a single-line input).
|
||||
|
||||
``XMLField``
|
||||
------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue