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/m/e/mediadrop-HEAD/mediadrop/controllers/media.py   mediadrop(Download)
    viewable_media)
from mediadrop.lib.i18n import _
from mediadrop.lib.services import Facebook
from mediadrop.lib.templating import render
from mediadrop.model import (DBSession, fetch_row, Media, MediaFile, Comment, 
 
        if request.settings['comments_engine'] == 'facebook':
            response.facebook = Facebook(request.settings['facebook_appid'])
 
        related_media = viewable_media(Media.query.related(media))[:6]