From 129583a0d3cf69b08d058cd751d777588801b7ad Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Thu, 18 Jul 2019 08:13:01 +0200 Subject: Removed some outdated backwards compatibility imports and misleading comments. EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab. FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0. BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9. EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797. BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef. --- docs/releases/3.1.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs') diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index 070d60bcd6..3a9381626b 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -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 -- cgit v1.3