Open fvgoto opened 7 years ago
A page being public does not seem to be exactly the same as a page being published.
See how it is done in cms/models/pagemodel.py:
def get_object_queryset(self): qs = self.__class__.objects return (self.publisher_is_draft and qs.drafts() or qs.public().published())
When not draft, it takes .public().published().
.public()
.published()
A page being public does not seem to be exactly the same as a page being published.
See how it is done in cms/models/pagemodel.py:
When not draft, it takes
.public()
.published()
.