Commits

Carl Meyer committed a445b8d

Updated PassThroughManager.for_queryset_class for less ambiguous behavior in case of incorrect usage.

Comments (0)

Files changed (1)

model_utils/managers.py

     @classmethod
     def for_queryset_class(cls, queryset_cls):
         class _PassThroughManager(cls):
+            def __init__(self):
+                return super(_PassThroughManager, self).__init__()
+
             def get_query_set(self):
                 kwargs = {}
                 if hasattr(self, "_db"):