forked from rc/aircox
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:
parent
529ed25d7f
commit
05be58b0c1
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user