1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Removed some outdated backwards compatibility imports and misleading comments.

EmptyResultSet moved in 46509cf13d.
FieldDoesNotExist moved in 8958170755.
BoundField and pretty_name moved in 8550161e53.
EMPTY_VALUES moved in 471596fc1a.
BaseRunserverCommand moved in 5c53e30607.
This commit is contained in:
Mads Jensen
2019-07-18 08:13:01 +02:00
committed by Mariusz Felisiak
parent aad46ee274
commit 129583a0d3
14 changed files with 32 additions and 38 deletions

View File

@@ -220,6 +220,19 @@ Miscellaneous
Django 3.1, the first request to any previously cached template fragment will
be a cache miss.
* The compatibility imports of ``django.core.exceptions.EmptyResultSet`` in
``django.db.models.query``, ``django.db.models.sql``, and
``django.db.models.sql.datastructures`` are removed.
* The compatibility import of ``django.core.exceptions.FieldDoesNotExist`` in
``django.db.models.fields`` is removed.
* The compatibility imports of ``django.forms.utils.pretty_name()`` and
``django.forms.boundfield.BoundField`` in ``django.forms.forms`` are removed.
* The compatibility imports of ``Context``, ``ContextPopException``, and
``RequestContext`` in ``django.template.base`` are removed.
.. _deprecated-features-3.1:
Features deprecated in 3.1