diff --git a/django/contrib/gis/geos/prepared.py b/django/contrib/gis/geos/prepared.py index 90a3f4df21..5458264f19 100644 --- a/django/contrib/gis/geos/prepared.py +++ b/django/contrib/gis/geos/prepared.py @@ -1,4 +1,5 @@ from .base import GEOSBase +from .error import GEOSException from .geometry import GEOSGeometry from .libgeos import geos_version_info from .prototypes import prepared as capi diff --git a/tests/swappable_models/tests.py b/tests/swappable_models/tests.py index 3bf5b46d66..de2105d2ec 100644 --- a/tests/swappable_models/tests.py +++ b/tests/swappable_models/tests.py @@ -2,7 +2,6 @@ from __future__ import unicode_literals from django.utils.six import StringIO -from django.apps import apps from django.contrib.auth.models import Permission from django.contrib.contenttypes.models import ContentType from django.core import management