Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Tim Graham authored July 09, 2011

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/ref/forms/widgets.txt
6  docs/ref/forms/widgets.txt
@@ -42,13 +42,13 @@ Setting arguments for widgets
42 42
 Many widgets have optional extra arguments; they can be set when defining the
43 43
 widget on the field. In the following example, the
44 44
 :attr:`~SelectDateWidget.years` attribute is set for a
45  
-:class:`~django.forms.widgets.extras.SelectDateWidget`:
  45
+:class:`~django.forms.extras.widgets.SelectDateWidget`:
46 46
 
47 47
     .. code-block:: python
48 48
 
49 49
         from django.forms.fields import DateField, ChoiceField, MultipleChoiceField
50 50
         from django.forms.widgets import RadioSelect, CheckboxSelectMultiple
51  
-        from django.forms.widgets.extras import SelectDateWidget
  51
+        from django.forms.extras.widgets import SelectDateWidget
52 52
 
53 53
         BIRTH_YEAR_CHOICES = ('1980', '1981', '1982')
54 54
         GENDER_CHOICES = (('m', 'Male'), ('f', 'Female'))
@@ -402,7 +402,7 @@ commonly used groups of widgets:
402 402
     Similar to :class:`SplitDateTimeWidget`, but uses :class:`HiddenInput` for
403 403
     both date and time.
404 404
 
405  
-.. currentmodule:: django.forms.widgets.extras
  405
+.. currentmodule:: django.forms.extras.widgets
406 406
 
407 407
 .. class:: SelectDateWidget
408 408
 

0 notes on commit ee7cac0

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