Files @ b7d1d1a96802
Branch filter:

Location: symposion_app/symposion/cms/managers.py

Patrick Altman
Fix the appconf
from datetime import datetime

from django.db import models


class PublishedPageManager(models.Manager):

    def get_query_set(self):
        qs = super(PublishedPageManager, self).get_query_set()
        return qs.filter(publish_date__lte=datetime.now())