fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yet another fix for beta
[redakcja.git]
/
apps
/
catalogue
/
managers.py
diff --git
a/apps/catalogue/managers.py
b/apps/catalogue/managers.py
index
4f804b8
..
a131ce9
100644
(file)
--- a/
apps/catalogue/managers.py
+++ b/
apps/catalogue/managers.py
@@
-1,5
+1,5
@@
from django.db import models
class VisibleManager(models.Manager):
from django.db import models
class VisibleManager(models.Manager):
- def get_query
_
set(self):
- return super(VisibleManager, self).get_query
_
set().exclude(_hidden=True)
+ def get_queryset(self):
+ return super(VisibleManager, self).get_queryset().exclude(_hidden=True)