Commits

Jonas Haag  committed baf3bbf

Removed unused imports

  • Participants
  • Parent commits 675c523

Comments (0)

Files changed (3)

File djangotoolbox/db/basecompiler.py

 from django.db.models.sql import aggregates as sqlaggregates
 from django.db.models.sql.compiler import SQLCompiler
 from django.db.models.sql.constants import LOOKUP_SEP, MULTI, SINGLE
-from django.db.models.sql.where import AND, OR, Constraint
+from django.db.models.sql.where import AND, OR
 from django.db.utils import DatabaseError, IntegrityError
 from django.utils.tree import Node
 import random

File djangotoolbox/errorviews.py

 from django import http
-from django.template import Context, RequestContext, loader
+from django.template import RequestContext, loader
 
 def server_error(request, template_name='500.html'):
     """

File djangotoolbox/test.py

-from .utils import object_list_to_table, equal_lists
+from .utils import object_list_to_table
 from django.test import TestCase
 from django.test.simple import DjangoTestSuiteRunner
 from django.utils.unittest import TextTestRunner
-import sys
-
-try:
-    from StringIO import StringIO
-except ImportError:
-    from cStringIO import StringIO
 
 class ModelTestCase(TestCase):
     """