code: def get_queryset(self):
          
          try:
              qs = super(UserManager, self).get_queryset()
          except AttributeError:  # pragma: no cover
              qs = super(UserManager, self).get_query_set()
          return qs
docs: Fixes get_query_set vs get_queryset for Django <1.6