検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 19 for TemplateResponse (0.041 sec.)
TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 15419
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ontents | Index | Modules « previous | up | next » TemplateResponse and SimpleTemplateResponse ¶ Standard HttpResponse ... is used, or put additional data into the context. TemplateResponse provides a way to do just that. Unlike basic HttpR ... esponse objects, TemplateResponse objects retain the details of the template and con ... it is needed, later in the response process. SimpleTemplateResponse objects ¶ class SimpleTemplateResponse ¶ 属性 ¶ Si ...
https://man.plustar.jp/django/ref/template-response.html - [similar]
Simple mixins — Django 4.0.6 ドキュメント 10040
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... he documentation on rendering a template context . TemplateResponseMixin ¶ class django.views.generic.base. TemplateRe ... sponseMixin ¶ Provides a mechanism to construct a TemplateResponse , given suitable context. The template to use is c ... returned by render_to_response method. Default is TemplateResponse . The template and context of TemplateResponse ins ... tances can be altered later (e.g. in template response middleware ). If you need custom template loading ...
https://man.plustar.jp/django/ref/class-based-views/mixins-simple.html - [similar]
クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 8691
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... はまったく異なる処理がしたいときなどです。この場合、 TemplateResponse を直接使えますが、コードが重複する結果となってしま ... 用意しています。例えば、テンプレートのレンダリングは TemplateResponseMixin でカプセル化されています。Django のリファレン ... うインターフェースに一貫性を保ちやすくなっています。 TemplateResponseMixin TemplateResponse を返すビルトインビューは全て ...TemplateResponseMixin が提供する render_to_response() メソッドを呼び ...
https://man.plustar.jp/django/topics/class-based-views/mixins.html - [similar]
Django 1.3 release notes — Django 4.0.6 ドキュメント 8469
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... you to load a single tag or filter from a library. TemplateResponse ¶ It can sometimes be beneficial to allow decorato ... To overcome this limitation, Django 1.3 adds a new TemplateResponse class. Unlike basic HttpResponse objects, Template ... ss. For more details, see the documentation on the TemplateResponse class. Caching changes ¶ Django 1.3 sees the intro ... ble strings Improvements to built-in template tags TemplateResponse Caching changes Permissions for inactive users Geo ...
https://man.plustar.jp/django/releases/1.3.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 8469
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ometry objects. Priority of context processors for TemplateResponse brought in line with render ¶ The TemplateResponse ... ever, it had a slight incompatibility, in that for TemplateResponse , context data from the passed in context dictiona ... If you were relying on the fact context data in a TemplateResponse could be overridden using a context processor, you ... elect_template() . Template and Context classes in template responses ¶ Some methods of SimpleTemplateResponse and Tem ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
ミドルウェア (Middleware) — Django 4.0.6 ドキュメント 8349
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... object. If it returns an HttpResponse object, the template response and response middleware will be applied and the r ... は、Django のビューまたはミドルウェアから返される、 TemplateResponse クラスのオブジェクト (あるいはそれと同等なもの) で ... クトが r ender() メソッドを持っている場合、つまり、 TemplateResponse クラスのオブジェクト (あるいはそれと同等のもの) で ... sponse.context_data を修正したり、あるいは、新規に TemplateResponse クラスのオブジェクト (あるいはそれと同等なもの) を ...
https://man.plustar.jp/django/topics/http/middleware.html - [similar]
Django のショートカット関数 — Django 4.0.6 ドキュメント 8230
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... es not provide a shortcut function which returns a TemplateResponse because the constructor of TemplateResponse offers ...
https://man.plustar.jp/django/topics/http/shortcuts.html - [similar]
API Reference — Django 4.0.6 ドキュメント 8179
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... オブジェクト SchemaEditor 設定 Signals テンプレート TemplateResponse and SimpleTemplateResponse Unicode data django.url ...
https://man.plustar.jp/django/ref/index.html - [similar]
The sitemap framework — Django 4.0.6 ドキュメント 8008
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ib.sitemaps.views.sitemap' ), ] These views return TemplateResponse instances which allow you to easily customize the ... e data before rendering. For more details, see the TemplateResponse documentation . Context variables ¶ When customizi ...
https://man.plustar.jp/django/ref/contrib/sitemaps.html - [similar]
クラスベースビュー入門 — Django 4.0.6 ドキュメント 8008
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... はありません。これが意味するのは、 http shortcuts や TemplateResponse オブジェクトはクラスベースのビューの内部でも使える ... 。 たとえば、ジェネリッククラスベースのビューには、 TemplateResponseMixin と呼ばれるミックスインがあり、その主な目的はメ ... メソッドクラスとなり、 template_name 属性を使用してTemplateResponseオブジェクト( TemplateResponseMixin で定義されている ...
https://man.plustar.jp/django/topics/class-based-views/intro.html - [similar]
PREV 1 2 NEXT