コード例 #1
0
ファイル: webapp.py プロジェクト: sschiavoni/openday-polimi
def cart(cart_id):
    return cart_engine.render_page_content(cart_id, False)
コード例 #2
0
ファイル: webapp.py プロジェクト: sschiavoni/openday-polimi
def add_cart(movie_id):
    cart_engine.add_to_cart(movie_id, request)
    return cart_engine.render_page_content(current_user.id, True)