Commits

Thomas Wanschik  committed 53909c9

only renamed JOINResolver

  • Participants
  • Parent commits 8de87d9

Comments (0)

Files changed (1)

File dbindexer/backends.py

         constraint.col = constraint.field.column
         constraint.alias = alias
 
-class JOINResolver(BaseResolver):
+class ConstantFieldJOINResolver(BaseResolver):
     def create_index(self, lookup):
         if '__' in lookup.field_name:
             BaseResolver.create_index(self, lookup)
         constraint.alias = alias
 
 # TODO: distinguish in memory joins from standard joins somehow
-class InMemoryJOINResolver(JOINResolver):
+class InMemoryJOINResolver(ConstantFieldJOINResolver):
     def __init__(self):
         self.field_chains = []
-        JOINResolver.__init__(self)
+        ConstantFieldJOINResolver.__init__(self)
 
     def create_index(self, lookup):
         if '__' in lookup.field_name: