Author: timo
Date: 2011-07-09 05:19:29 -0700 (Sat, 09 Jul 2011)
New Revision: 16528

Modified:
   django/trunk/docs/ref/forms/widgets.txt
Log:
Fixed #16434 - corrected "django.forms.widgets.extras" to 
"django.forms.extras.widgets"; thanks rfk.

Modified: django/trunk/docs/ref/forms/widgets.txt
===================================================================
--- django/trunk/docs/ref/forms/widgets.txt     2011-07-08 14:22:36 UTC (rev 
16527)
+++ django/trunk/docs/ref/forms/widgets.txt     2011-07-09 12:19:29 UTC (rev 
16528)
@@ -42,13 +42,13 @@
 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 @@
     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
 

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to