

def get_query_set(self):
    TWENTY_FOUR_HOURS_AGO = (datetime.now() - timedelta(hours=24))
    return super(ActiveLiveBlogManager, self).get_query_set().filter(is_live_blog=True).filter(entry__pub_date__gte=TWENTY_FOUR_HOURS_AGO).distinct()

dataset/ETHPy150Open albatrossandco/brubeck_cms/brubeck/blogs/models.py ActiveLiveBlogManager.get_query_set/original