bornhack-website/villages/managers.py

10 lines
165 B
Python
Raw Normal View History

from django.db.models import QuerySet
class VillageQuerySet(QuerySet):
def not_deleted(self):
return self.filter(
deleted=False
)