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

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

src/s/y/SynoDLNAtrakt-HEAD/synodlnatrakt/web.py   SynoDLNAtrakt(Download)
def index():
    content = db.session.query(db.TVShows).filter(db.TVEpisodes.show_id == db.TVShows.tvdb_id).order_by(db.TVShows.name.asc())
    return template('tvshow-list', content=content, topmenu=u"series", title=u"TV-Shows")
 
 
def index():
    content = db.session.query(db.TVShows).filter(db.TVEpisodes.show_id == db.TVShows.tvdb_id).order_by(db.TVShows.name.asc())
    return template('tvshow-list-cover', content=content, topmenu=u"series", title=u"TV-Shows - Cover view")
 
# view a specific series by its tvdb_id