fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
librarian update
[redakcja.git]
/
apps
/
catalogue
/
managers.py
diff --git
a/apps/catalogue/managers.py
b/apps/catalogue/managers.py
index
4f804b8
..
0097cb3
100644
(file)
--- a/
apps/catalogue/managers.py
+++ b/
apps/catalogue/managers.py
@@
-1,5
+1,7
@@
+# -*- coding: utf-8 -*-
from django.db import models
+
class VisibleManager(models.Manager):
def get_query_set(self):
return super(VisibleManager, self).get_query_set().exclude(_hidden=True)