symposion_app/symposion/sponsorship/managers.py

8 lines
166 B
Python
Raw Normal View History

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