diff options
| author | Loic Bistuer <loic.bistuer@gmail.com> | 2015-01-26 10:28:57 +0700 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@gmail.com> | 2015-01-27 22:40:02 +0700 |
| commit | 728b6fd9ca8624271f072d5f4618dc3fd38e87f1 (patch) | |
| tree | 3f91c283af33d95d02d9974cb66249594769613f /docs/releases | |
| parent | 3a4c9e1b43ff67b6cf4c59da757666d6ac5ce4a0 (diff) | |
Fixed #24219 -- Moved SelectDateWidget together with the other widgets
and deprecated django.forms.extras.
Thanks Berker Peksag and Tim Graham for the reviews.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.7.txt | 4 | ||||
| -rw-r--r-- | docs/releases/1.8.txt | 7 | ||||
| -rw-r--r-- | docs/releases/1.9.txt | 4 |
3 files changed, 10 insertions, 5 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 63aa7722b8..bb3ba41a91 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -637,7 +637,7 @@ Forms value. * :attr:`SelectDateWidget.months - <django.forms.extras.widgets.SelectDateWidget.months>` can be used to + <django.forms.SelectDateWidget.months>` can be used to customize the wording of the months displayed in the select widget. * The ``min_num`` and ``validate_min`` parameters were added to @@ -1378,7 +1378,7 @@ Miscellaneous the current class *and* on a parent ``Form``. * The ``required`` argument of - :class:`~django.forms.extras.widgets.SelectDateWidget` has been removed. + :class:`~django.forms.SelectDateWidget` has been removed. This widget now respects the form field's ``is_required`` attribute like other widgets. diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index c89c65de5c..71a2a430e3 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -336,9 +336,10 @@ Forms a form's :attr:`~django.forms.Form.label_suffix` while using shortcuts such as ``{{ form.as_p }}`` in templates. -* :class:`~django.forms.extras.widgets.SelectDateWidget` now accepts an - :attr:`~django.forms.extras.widgets.SelectDateWidget.empty_label` argument, which will - override the top list choice label when :class:`~django.forms.DateField` is not required. +* :class:`~django.forms.SelectDateWidget` now accepts an + :attr:`~django.forms.SelectDateWidget.empty_label` argument, which will + override the top list choice label when :class:`~django.forms.DateField` + is not required. * After an :class:`~django.forms.ImageField` has been cleaned and validated, the ``UploadedFile`` object will have an additional ``image`` attribute containing diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index 9abb05d921..5f62f081e9 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -187,6 +187,10 @@ Miscellaneous will be removed in Django 2.1. The more general ``check_expression_support()`` should be used instead. +``django.forms.extras`` is deprecated. You can find + :class:`~django.forms.SelectDateWidget` in ``django.forms.widgets`` + (or simply ``django.forms``) instead. + .. removed-features-1.9: Features removed in 1.9 |
