検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 68 for render (0.015 sec.)
クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 13119
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e extra_context http_method_names response_class [ render_to_response() ] template_engine template_name [ ge ... et_context_data() head() http_method_not_allowed() render_to_response() setup() RedirectView ¶ class Redirec ... _slug queryset [ get_queryset() ] response_class [ render_to_response() ] slug_field [ get_slug_field() ] sl ... ta() get_object() head() http_method_not_allowed() render_to_response() setup() リストのビュー ¶ List Views ...
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html - [similar]
How to create custom template tags and filters — Django 4.0.6 ドキュメント 12991
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ソッドで、任意の数の引数を受け取る関数を取り、それを render 関数と上記で説明した他の必要なビットにラップし、そ ... emplate tag is the type that displays some data by rendering another template. For example, Django's admin i ... ces' : choices } Next, create the template used to render the tag's output. This template is a fixed feature ... system works in a two-step process: compiling and rendering. To define a custom template tag, you specify h ...
https://man.plustar.jp/django/howto/custom-template-tags.html - [similar]
TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 11658
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... structures. They are provided with a block of pre-rendered content at time of construction, and while that ... se. template_name ¶ The name of the template to be rendered. Accepts a backend-dependent template object (su ... e. context_data ¶ The context data to be used when rendering the template. It must be a dict . Example: {'fo ... o': 123} SimpleTemplateResponse. rendered_content ¶ The current rendered value of the resp ...
https://man.plustar.jp/django/ref/template-response.html - [similar]
クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 10126
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... インビューは全て、 TemplateResponseMixin が提供する render_to_response() メソッドを呼び出します。ほとんどの場 ... JSONResponseMixin example の例を参照してください。 render_to_response() itself calls get_template_names() , ... uilt in view which needs context data, such as for rendering a template (including TemplateResponseMixin abo ... e functionality. We'll consider DetailView , which renders a "detail" view of an object, and ListView , whic ...
https://man.plustar.jp/django/topics/class-based-views/mixins.html - [similar]
The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 8836
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nding of templates, contexts, variables, tags, and rendering. Start with the introduction to the Django temp ... . You compile template code into a Template . You render the template with a Context . Django projects gene ... . The Template obtained in the previous step has a render() method which marshals a context and possibly a r ... equest into a Context and delegates the rendering to the underlying Template . Configuring an eng ...
https://man.plustar.jp/django/ref/templates/api.html - [similar]
Django のショートカット関数 — Django 4.0.6 ドキュメント 8481
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 関数やクラスは、便宜上、控えめな結合を取り入れます。 render() ¶ render ( request , template_name , context = N ... onary and returns an HttpResponse object with that rendered text. Django does not provide a shortcut functio ... teResponse offers the same level of convenience as render() . Required arguments ¶ request The request objec ... ary is callable, the view will call it just before rendering the template. content_type The MIME type to use ...
https://man.plustar.jp/django/topics/http/shortcuts.html - [similar]
テンプレート — Django 4.0.6 ドキュメント 8353
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... name': 'John', 'last_name': 'Doe'} , this template renders to: My first name is John. My last name is Doe. D ... llable. タグ ¶ Tags provide arbitrary logic in the rendering process. This definition is deliberately vague. ... or perfectionists with deadlines'} , this template renders to: The Web Framework For Perfectionists With Dea ... コメント ¶ Comments look like this: {# this won't be rendered #} A {% comment %} tag provides multi-line comme ...
https://man.plustar.jp/django/topics/templates.html - [similar]
The form rendering API — Django 4.0.6 ドキュメント 8041
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Index | Modules « previous | up | next » The form rendering API ¶ Django's form widgets are rendered using ... Django's template engines system . The form rendering process can be customized at several levels: Wi ... mplate names. Forms and widgets can specify custom renderer classes. A widget's template can be overridden b ... with a project's custom templates.) The low-level render API ¶ The rendering of form templates is controlle ...
https://man.plustar.jp/django/ref/forms/renderers.html - [similar]
はじめての Django アプリ作成、その 3 — Django 4.0.6 ドキュメント 7871
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... question_list , } return HttpResponse ( template . render ( context , request )) このコードは、 polls/index. ... リンクは質問の詳細ページを指します。 ショートカット: render() ¶ テンプレートをロードしてコンテキストに値を入れ ... ょう: polls/views.py ¶ from django.shortcuts import render from .models import Question def index ( request ) ... est_question_list' : latest_question_list } return render ( request , 'polls/index.html' , context ) 全部の ...
https://man.plustar.jp/django/intro/tutorial03.html - [similar]
ウィジェット — Django 4.0.6 ドキュメント 7871
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ェットのインスタンスをカスタマイズする ¶ When Django renders a widget as HTML, it only renders very minimal ma ... な属性 attrs を提供します。カスタムウィジェット上で render() を実行するかオーバーライドできます。 attrs ¶ ディ ... 'size' : 10 , 'title' : 'Your name' }) >>> name . render ( 'name' , 'A name' ) '<input title="Your name" ty ... tInput ( attrs = { 'required' : True }) >>> name . render ( 'name' , 'A name' ) '<input name="name" type="te ...
https://man.plustar.jp/django/ref/forms/widgets.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT