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. --- django/forms/forms.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'django/forms/forms.py') diff --git a/django/forms/forms.py b/django/forms/forms.py index 0ab25643da..48b237611f 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -5,11 +5,8 @@ Form classes import copy from django.core.exceptions import NON_FIELD_ERRORS, ValidationError -# BoundField is imported for backwards compatibility in Django 1.9 -from django.forms.boundfield import BoundField # NOQA from django.forms.fields import Field, FileField -# pretty_name is imported for backwards compatibility in Django 1.9 -from django.forms.utils import ErrorDict, ErrorList, pretty_name # NOQA +from django.forms.utils import ErrorDict, ErrorList from django.forms.widgets import Media, MediaDefiningClass from django.utils.datastructures import MultiValueDict from django.utils.functional import cached_property -- cgit v1.3