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 in46509cf13d. FieldDoesNotExist moved in8958170755. BoundField and pretty_name moved in8550161e53. EMPTY_VALUES moved in471596fc1a. BaseRunserverCommand moved in5c53e30607.
This commit is contained in:
committed by
Mariusz Felisiak
parent
aad46ee274
commit
129583a0d3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user