SOITA/users/querysets.py
2021-12-05 15:23:29 +01:00

7 lines
151 B
Python

from django.db.models import QuerySet
class UserQuerySet(QuerySet):
def activated(self, **kwargs):
return self.filter(is_activated=True)