Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #16434 - corrected "django.forms.widgets.extras" to "django.for…

…ms.extras.widgets"; thanks rfk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 823a231 commit ee7cac0806a00e819955d0cf156e94a3cd24ddb8 @timgraham timgraham committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/ref/forms/widgets.txt
6 docs/ref/forms/widgets.txt
@@ -42,13 +42,13 @@ Setting arguments for widgets
Many widgets have optional extra arguments; they can be set when defining the
widget on the field. In the following example, the
:attr:`~SelectDateWidget.years` attribute is set for a
.. code-block:: python
from django.forms.fields import DateField, ChoiceField, MultipleChoiceField
from django.forms.widgets import RadioSelect, CheckboxSelectMultiple
- from django.forms.widgets.extras import SelectDateWidget
+ from django.forms.extras.widgets import SelectDateWidget
BIRTH_YEAR_CHOICES = ('1980', '1981', '1982')
GENDER_CHOICES = (('m', 'Male'), ('f', 'Female'))
@@ -402,7 +402,7 @@ commonly used groups of widgets:
Similar to :class:`SplitDateTimeWidget`, but uses :class:`HiddenInput` for
both date and time.
-.. currentmodule:: django.forms.widgets.extras
+.. currentmodule:: django.forms.extras.widgets
.. class:: SelectDateWidget

0 comments on commit ee7cac0

Please sign in to comment.
Something went wrong with that request. Please try again.