<commit_before>===========================
Django Deprecation Timeline
===========================

This document outlines when various pieces of Django will be removed or altered
in a backward incompatible way, following their deprecation, as per the
:ref:`deprecation policy <internal-release-deprecation-policy>`. More details
about each item can often be found in the release notes of two versions prior.

.. _deprecation-removed-in-3.0:

3.0
---

See the :ref:`Django 2.0 release notes<deprecated-features-2.0>` for more
details on these changes.

* The ``django.db.backends.postgresql_psycopg2`` module will be removed.

* ``django.shortcuts.render_to_response()`` will be removed.

* The ``DEFAULT_CONTENT_TYPE`` setting will be removed.

* ``HttpRequest.xreadlines()`` will be removed.

* Support for the ``context`` argument of ``Field.from_db_value()`` and
  ``Expression.convert_value()`` will be removed.

* The ``field_name`` keyword argument of ``QuerySet.earliest()`` and
  ``latest()`` will be removed.

* ``django.contrib.gis.db.models.functions.ForceRHR`` will be removed.

* ``django.utils.http.cookie_date()`` will be removed.

* The ``staticfiles`` and ``admin_static`` template tag libraries will be
  removed.

* ``django.contrib.staticfiles.templatetags.static()`` will be removed.

See the :ref:`Django 2.1 release notes <deprecated-features-2.1>` for more
details on these changes.

.. _deprecation-removed-in-2.1:

2.1
---

See the :ref:`Django 1.11 release notes<deprecated-features-1.11>` for more
details on these changes.

* ``contrib.auth.views.login()``, ``logout()``, ``password_change()``,
  ``password_change_done()``, ``password_reset()``, ``password_reset_done()``,
  ``password_reset_confirm()``, and ``password_reset_complete()`` will be
  removed.

* The ``extra_context`` parameter of ``contrib.auth.views.logout_then_login()``
  will be removed.

* ``django.test.runner.setup_databases()`` will be removed.<commit_msg>Fixed ordering in docs/internals/deprecation.txt.<commit_after>===========================
Django Deprecation Timeline
===========================

This document outlines when various pieces of Django will be removed or altered
in a backward incompatible way, following their deprecation, as per the
:ref:`deprecation policy <internal-release-deprecation-policy>`. More details
about each item can often be found in the release notes of two versions prior.

.. _deprecation-removed-in-3.0:

3.0
---

See the :ref:`Django 2.0 release notes<deprecated-features-2.0>` for more
details on these changes.

* The ``django.db.backends.postgresql_psycopg2`` module will be removed.

* ``django.shortcuts.render_to_response()`` will be removed.

* The ``DEFAULT_CONTENT_TYPE`` setting will be removed.

* ``HttpRequest.xreadlines()`` will be removed.

* Support for the ``context`` argument of ``Field.from_db_value()`` and
  ``Expression.convert_value()`` will be removed.

* The ``field_name`` keyword argument of ``QuerySet.earliest()`` and
  ``latest()`` will be removed.

See the :ref:`Django 2.1 release notes <deprecated-features-2.1>` for more
details on these changes.

* ``django.contrib.gis.db.models.functions.ForceRHR`` will be removed.

* ``django.utils.http.cookie_date()`` will be removed.

* The ``staticfiles`` and ``admin_static`` template tag libraries will be
  removed.

* ``django.contrib.staticfiles.templatetags.static()`` will be removed.

.. _deprecation-removed-in-2.1:

2.1
---

See the :ref:`Django 1.11 release notes<deprecated-features-1.11>` for more
details on these changes.

* ``contrib.auth.views.login()``, ``logout()``, ``password_change()``,
  ``password_change_done()``, ``password_reset()``, ``password_reset_done()``,
  ``password_reset_confirm()``, and ``password_reset_complete()`` will be
  removed.

* The ``extra_context`` parameter of ``contrib.auth.views.logout_then_login()``
  will be removed.

* ``django.test.runner.setup_databases()`` will be removed.
{'fraction_non_alphanumeric': 0.16725618999494693, 'fraction_numerical': 0.011622031328954016, 'mean_word_length': 5.2248427672955975, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5875283', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1217, 'n_words': 358}