예제 #1
0
파일: routes.py 프로젝트: jadesym/cs373-idb
def api_get_all_studios():
    cleanedAnimeTable = []
    for anime in studio_table():
        tempDict = (anime).getCleanDict()
        tempDict.pop('_sa_instance_state')
        cleanedAnimeTable.append(tempDict)
    return jsonify({"results": cleanedAnimeTable})
예제 #2
0
파일: routes.py 프로젝트: jadesym/cs373-idb
def get_studios():
    # print(len(studio_table()))
    return render_template('studios.html', category="Studios", anime_studios=studio_table())