X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/6a259b96cff47e1fd64cbfd6f3d1e1d8e8b6486c..042196842c177084eb717ed6191e1b3d5d3ef82e:/apps/catalogue/managers.py?ds=sidebyside diff --git a/apps/catalogue/managers.py b/apps/catalogue/managers.py index 4f804b84..0097cb32 100644 --- 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)