Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@spookylukey spookylukey authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 docs/ref/forms/widgets.txt
View
10 docs/ref/forms/widgets.txt
@@ -159,6 +159,16 @@ commonly used groups of widgets:
.. versionchanged:: 1.1
The ``date_format`` and ``time_format`` arguments were not supported in Django 1.0.
+.. class:: SelectDateWidget
+
+ Wrapper around three select widgets: one each for month, day, and year.
+ Note that this widget lives in a separate file from the standard widgets.
+
+ .. code-block:: python
+
+ from django.forms.extras.widgets import SelectDateWidget
+
+ date = forms.DateField(widget=SelectDateWidget())
Specifying widgets
------------------
Please sign in to comment.
Something went wrong with that request. Please try again.