fnp
/
redakcja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bugfix
[redakcja.git]
/
apps
/
catalogue
/
managers.py
1
from django.db import models
2
3
class VisibleManager(models.Manager):
4
def get_query_set(self):
5
return super(VisibleManager, self).get_query_set().exclude(_hidden=True)