aircox/models/page: remove custom published() method which prevented new Podcasts to be included in EpisodeQuerySet.with_podcasts(), maybe related to 33e46ebd53

This commit is contained in:
Chris Tactic 2024-11-07 17:11:06 +01:00
parent 529ed25d7f
commit 05be58b0c1

View File

@ -182,8 +182,7 @@ class BasePage(Renderable, models.Model):
# FIXME: rename
class PageQuerySet(BasePageQuerySet):
def published(self):
return self.filter(status=Page.STATUS_PUBLISHED, pub_date__lte=tz.now())
pass
class Page(BasePage):