From dbe2fb632de6d4e116f00f9e74b583a5bdc051a9 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 24 Dec 2013 08:35:13 -0800 Subject: [PATCH] Added a missing import and removed an unneeded import --- django/contrib/gis/geos/prepared.py | 1 + tests/swappable_models/tests.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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