diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2009-09-10 15:45:15 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2009-09-10 15:45:15 +0000 |
| commit | 1387b17026abf1fc6b3edbe8febef448a5cbc382 (patch) | |
| tree | c01ca6c58c0d2fefd84a8ac05fa21ba03077a568 /docs/ref/forms/widgets.txt | |
| parent | 404a82e156ead0299de1fe9e333f7ef33dcd6954 (diff) | |
Fixed #7437: SelectDateWidget is not documented.
Thanks timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms/widgets.txt')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index e2ba0d7889..1fc2bfa85d 100644 --- a/docs/ref/forms/widgets.txt +++ b/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 ------------------ |
