Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ms.extras.widgets"; thanks rfk.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ee7cac0806a00e819955d0cf156e94a3cd24ddb8 1 parent 823a231
@timgraham timgraham authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/ref/forms/widgets.txt
View
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
-:class:`~django.forms.widgets.extras.SelectDateWidget`:
+:class:`~django.forms.extras.widgets.SelectDateWidget`:
.. 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
Please sign in to comment.
Something went wrong with that request. Please try again.