mirror of
https://github.com/django/django.git
synced 2025-11-01 20:31:40 +00:00
Removed django.contrib.localflavor.
Each localflavor lives on as a separate app.
This commit is contained in:
parent
b2d20e9826
commit
f27a4ee327
304 changed files with 49 additions and 257012 deletions
|
|
@ -606,8 +606,7 @@ All of the ``kwargs`` dictionary is passed directly to the form field's
|
|||
for the ``form_class`` argument and then delegate further handling to the
|
||||
parent class. This might require you to write a custom form field (and even a
|
||||
form widget). See the :doc:`forms documentation </topics/forms/index>` for
|
||||
information about this, and take a look at the code in
|
||||
:mod:`django.contrib.localflavor` for some examples of custom widgets.
|
||||
information about this.
|
||||
|
||||
Continuing our ongoing example, we can write the :meth:`.formfield` method as::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue