summaryrefslogtreecommitdiff
path: root/django/forms/forms.py
diff options
context:
space:
mode:
authorMads Jensen <mje@inducks.org>2019-07-18 08:13:01 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-24 15:18:53 +0200
commit129583a0d3cf69b08d058cd751d777588801b7ad (patch)
tree942c8e699445b6c13dc7b43869d1fee999eb8134 /django/forms/forms.py
parentaad46ee274b0e294ac055cc199e6595de4ef4164 (diff)
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.
Diffstat (limited to 'django/forms/forms.py')
-rw-r--r--django/forms/forms.py5
1 files changed, 1 insertions, 4 deletions
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