update librarian
[redakcja.git] / apps / catalogue / managers.py
1 from django.db import models
2
3 class VisibleManager(models.Manager):
4     def get_queryset(self):
5         return super(VisibleManager, self).get_queryset().exclude(_hidden=True)