umap/umap/managers.py
Yohan Boniface e55d03bd5e Django 2.0
And update other deps
2018-05-19 10:05:18 +02:00

8 lines
207 B
Python

from django.db.models import Manager
class PublicManager(Manager):
def get_queryset(self):
return super(PublicManager, self).get_queryset().filter(
share_status=self.model.PUBLIC)