diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2014-08-07 14:13:22 +1000 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2014-08-07 14:14:12 +1000 |
| commit | 173d989c91361243d0638f1e39db7148bc0ea4f8 (patch) | |
| tree | 76b0b33809eab654fda7e2ef35465ffd0d8632b9 | |
| parent | 61ed9592356747b6324ca84a09df03c1bd030af9 (diff) | |
Fixed #23252: Call out removed features in release notes.
Also added StrAndUnicode mixin note to deprecation plan as it was
missing.
| -rw-r--r-- | docs/internals/deprecation.txt | 4 | ||||
| -rw-r--r-- | docs/releases/1.7.txt | 59 |
2 files changed, 61 insertions, 2 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 795e46f8f0..31ec014335 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -318,6 +318,10 @@ details on these changes. not, then any password reset links generated before you upgrade to Django 1.7 won't work after the upgrade. +* The ``django.utils.encoding.StrAndUnicode`` mix-in will be removed. + Define a ``__str__`` method and apply the + :func:`~django.utils.encoding.python_2_unicode_compatible` decorator instead. + .. _deprecation-removed-in-1.6: 1.6 diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index c1818bbc28..0768a5cf3a 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -7,12 +7,14 @@ Welcome to Django 1.7! These release notes cover the `new features`_, as well as some `backwards incompatible changes`_ you'll want to be aware of when upgrading from Django 1.6 or older versions. We've also dropped some features, which are detailed in -:ref:`our deprecation plan <deprecation-removed-in-1.7>`, and we've `begun the -deprecation process for some features`_. +:ref:`our deprecation plan <deprecation-removed-in-1.7>`, we've `begun the +deprecation process for some features`_, and some features have reached the +end of their deprecation process and `have been removed`_. .. _`new features`: `What's new in Django 1.7`_ .. _`backwards incompatible changes`: `Backwards incompatible changes in 1.7`_ .. _`begun the deprecation process for some features`: `Features deprecated in 1.7`_ +.. _`have been removed`: `Features removed in 1.7`_ Python compatibility ==================== @@ -1720,3 +1722,56 @@ FastCGI support FastCGI support via the ``runfcgi`` management command will be removed in Django 1.9. Please deploy your project using WSGI. + +.. removed-features-1.7: + +Features removed in 1.7 +======================= + +These features have reached the end of their +:ref:`deprecation cycle <deprecation-removed-in-1.7>` and so have been +removed in Django 1.7 (please see the +:ref:`deprecation timeline <deprecation-removed-in-1.7>` for more details): + + +* ``django.utils.simplejson`` is removed. + +* ``django.utils.itercompat.product`` is removed. + +* INSTALLED_APPS and TEMPLATE_DIRS are no longer corrected from a plain + string into a tuple. + +* :class:`~django.http.HttpResponse`, + :class:`~django.template.response.SimpleTemplateResponse`, + :class:`~django.template.response.TemplateResponse`, + :func:`~django.shortcuts.render_to_response`, + :func:`~django.contrib.sitemaps.views.index`, and + :func:`~django.contrib.sitemaps.views.sitemap` no longer take a ``mimetype`` + argument + +* :class:`~django.http.HttpResponse` immediately consumes its content if it's + an iterator. + +* The ``AUTH_PROFILE_MODULE`` setting, and the ``get_profile()`` method on + the User model are removed. + +* The ``cleanup`` management command is removed. + +* The ``daily_cleanup.py`` script is removed. + +* :meth:`~django.db.models.query.QuerySet.select_related` no longer has a + ``depth`` keyword argument. + +* The ``get_warnings_state()``/``restore_warnings_state()`` + functions from :mod:`django.test.utils` and the ``save_warnings_state()``/ + ``restore_warnings_state()`` + :ref:`django.test.*TestCase <django-testcase-subclasses>` are removed. + +* The ``check_for_test_cookie`` method in + :class:`~django.contrib.auth.forms.AuthenticationForm` is removed. + +* The version of :func:`django.contrib.auth.views.password_reset_confirm` that + supports base36 encoded user IDs + (``django.contrib.auth.views.password_reset_confirm_uidb36``) is removed. + +* The ``django.utils.encoding.StrAndUnicode`` mix-in is removed. |
