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

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

src/j/a/jaam-HEAD/jaam/journalism/models.py   jaam(Download)
from easy_thumbnails.fields import ThumbnailerImageField
import social_auth.signals
from jaam.journalism.middleware import _show_unpublished
#from jaam.photos.models import Photo
from django.forms import ModelForm
    def get_query_set(self):
        #raise Exception
        if _show_unpublished():
            return super(PublishedObjectsManager, self).get_query_set().order_by('pk')
        else: