X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..c58ede829174b66ec4d2b0c949b771a3eed27e1b:/apps/catalogue/managers.py?ds=sidebyside diff --git a/apps/catalogue/managers.py b/apps/catalogue/managers.py index 4f804b84..a131ce94 100644 --- a/apps/catalogue/managers.py +++ b/apps/catalogue/managers.py @@ -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)