@@ -0,0 +1,387 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0Afrom django.db import models%0Afrom django.core.cache import cache%0Afrom django.utils import timezone%0Afrom django.conf import settings%0A%0A%0Aclass PublishableManager(models.Manager):%0A    def all_published(self):%0A        return super(PublishableManager, self).get_query_set().filter(%0A            date_available__lte=timezone.now(), published=True)%0A%0A

Create managers core package, add PublishableManager