localsettings are no longer main settings
[redakcja.git] / apps / catalogue / managers.py
index 4f804b8..a131ce9 100644 (file)
@@ -1,5 +1,5 @@
 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)