コード例 #1
0
ファイル: views.py プロジェクト: gmist/five-studio
def prices(request):
    return render_to_response('admin/prices.html', {'prices': Price.all()})
コード例 #2
0
ファイル: views.py プロジェクト: gmist/five-studio
def index(request):
    prices = Price.all()
    return render_to_response('price/index.html', {'prices': prices})