diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-12-04 20:59:05 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-01-11 15:50:34 +0100 |
| commit | 0179852d7faf461d55cf3ae69393abb3f3cd2910 (patch) | |
| tree | 918af143a73da8e7ef8d6d46e077174410cde59e /docs | |
| parent | 1e9e7351f88a59261da6e616934c8283a6e3e565 (diff) | |
Fixed #8898 -- Obsoleted SplitDateTimeWidget usage with DateTimeField
Thanks Tim Graham for the review.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/ref/forms/fields.txt | 6 | ||||
| -rw-r--r-- | docs/releases/1.7.txt | 7 |
3 files changed, 16 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 514561e1ff..34e974cea3 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -215,6 +215,9 @@ these changes. * ``django.forms.get_declared_fields`` will be removed. +* The ability to use a ``SplitDateTimeWidget`` with ``DateTimeField`` will be + removed. + * The ``WSGIRequest.REQUEST`` property will be removed. * The class ``django.utils.datastructures.MergeDict`` will be removed. diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 62273fd38e..42d639e8c7 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -458,6 +458,12 @@ For each field, we describe the default widget used if you don't specify See also :ref:`format localization <format-localization>`. + .. deprecated:: 1.7 + + The ability to use :class:`SplitDateTimeWidget` with ``DateTimeField`` + has been deprecated and will be removed in Django 1.9. Use + :class:`SplitDateTimeField` instead. + ``DecimalField`` ~~~~~~~~~~~~~~~~ diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 9fcad38931..fdbf63526e 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -1063,3 +1063,10 @@ the arguments may have been evaluated at query time. The ``ADMIN_FOR`` feature, part of the admindocs, has been removed. You can remove the setting from your configuration at your convenience. + +``SplitDateTimeWidget`` with ``DateTimeField`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``SplitDateTimeWidget`` support in :class:`~django.forms.DateTimeField` is +deprecated, use ``SplitDateTimeWidget`` with +:class:`~django.forms.SplitDateTimeField` instead. |
