summaryrefslogtreecommitdiff
path: root/django/forms/fields.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/fields.py
parentaad46ee274b0e294ac055cc199e6595de4ef4164 (diff)
downloaddjango-129583a0d3cf69b08d058cd751d777588801b7ad.tar.gz
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/fields.py')
-rw-r--r--django/forms/fields.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/forms/fields.py b/django/forms/fields.py
index a977256525..03cd8af8d7 100644
--- a/django/forms/fields.py
+++ b/django/forms/fields.py
@@ -15,8 +15,6 @@ from urllib.parse import urlsplit, urlunsplit
from django.core import validators
from django.core.exceptions import ValidationError
-# Provide this import for backwards compatibility.
-from django.core.validators import EMPTY_VALUES # NOQA
from django.forms.boundfield import BoundField
from django.forms.utils import from_current_timezone, to_current_timezone
from django.forms.widgets import (