diff --git a/django/db/models/__init__.py b/django/db/models/__init__.py index 3af53b4b74..e371b1e37c 100644 --- a/django/db/models/__init__.py +++ b/django/db/models/__init__.py @@ -8,7 +8,6 @@ from django.db.models.manager import Manager from django.db.models.base import Model, AdminOptions from django.db.models.fields import * from django.db.models.fields.related import * -from django.db.models.exceptions import FieldDoesNotExist from django.db.models import signals from django.utils.functional import curry from django.utils.text import capfirst diff --git a/django/db/models/exceptions.py b/django/db/models/exceptions.py deleted file mode 100644 index 4154ad426e..0000000000 --- a/django/db/models/exceptions.py +++ /dev/null @@ -1,2 +0,0 @@ -class FieldDoesNotExist(Exception): - pass diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 8a4de9fe04..b0883f1e73 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -25,6 +25,9 @@ prep_for_like_query = lambda x: str(x).replace("%", "\%").replace("_", "\_") # returns the