Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #7437: SelectDateWidget is not documented.

Thanks timo.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1387b17026abf1fc6b3edbe8febef448a5cbc382 1 parent 404a82e
Luke Plant authored September 10, 2009

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

  1. 10  docs/ref/forms/widgets.txt
10  docs/ref/forms/widgets.txt
@@ -159,6 +159,16 @@ commonly used groups of widgets:
159 159
     .. versionchanged:: 1.1
160 160
        The ``date_format`` and ``time_format`` arguments were not supported in Django 1.0.
161 161
 
  162
+.. class:: SelectDateWidget
  163
+
  164
+    Wrapper around three select widgets: one each for month, day, and year.
  165
+    Note that this widget lives in a separate file from the standard widgets.
  166
+
  167
+    .. code-block:: python
  168
+
  169
+        from django.forms.extras.widgets import SelectDateWidget
  170
+
  171
+        date = forms.DateField(widget=SelectDateWidget())
162 172
 
163 173
 Specifying widgets
164 174
 ------------------

0 notes on commit 1387b17

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