2010-03-27から1日間の記事一覧
render_to_response 散々使ってますが、一応紹介すると、テンプレートをレンダリングしてクライアントに結果を返すショートカット関数です。 render_to_response( 'template.html', {'key':'value',}, context_instance=RequestContext(request), mimetype='…
render_to_response 散々使ってますが、一応紹介すると、テンプレートをレンダリングしてクライアントに結果を返すショートカット関数です。 render_to_response( 'template.html', {'key':'value',}, context_instance=RequestContext(request), mimetype='…