Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(2)  |  Import(1)

src/b/o/boar-HEAD/boar/articles/managers.py   boar(Download)
from boar.cacher.managers import CachingManager, CachingQuerySet
from django.contrib.comments.models import Comment
from django.contrib.contenttypes.models import ContentType
from django.db import connection
from django.db.models.query import QuerySet
class SectionManager(CachingManager):
    def get_query_set(self):
        return SectionQuerySet(self.model)
 
    def menu_items(self):
class ArticleManager(CachingManager):
    def get_query_set(self):
        return ArticleQuerySet(self.model).select_related('section', 'image')
 
    def published(self):