symposion_app/symposion/sponsorship/managers.py

7 lines
166 B
Python

from django.db import models
class SponsorManager(models.Manager):
def active(self):
return self.get_query_set().filter(active=True).order_by("level")