1. Waldemar Kornewald
  2. djangotoolbox

Commits

Waldemar Kornewald  committed f2d7714

fixed last patch which caused a circular dependency

  • Participants
  • Parent commits 956e7a2
  • Branches default

Comments (0)

Files changed (1)

File djangotoolbox/db/base.py

View file
  • Ignore whitespace
 from django.db.backends import BaseDatabaseFeatures, BaseDatabaseOperations, \
     BaseDatabaseWrapper, BaseDatabaseClient, BaseDatabaseValidation, \
     BaseDatabaseIntrospection
-from django.db.models.sql.aggregates import Count
 
 from .creation import NonrelDatabaseCreation
 
         return value
 
     def check_aggregate_support(self, aggregate):
+        from django.db.models.sql.aggregates import Count
         if not isinstance(aggregate, Count):
             raise NotImplementedError("This database does not support %r "
                                       "aggregates" % type(aggregate))