検索

phrase: max: clip:
target: order:
Results of 51 - 60 of about 68 for render (0.085 sec.)
タイムゾーン — Django 4.0.6 ドキュメント 6283
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 作成します: from django.shortcuts import redirect , render # Prepare a map of common locations to timezone ch ... 'timezone' ] return redirect ( '/' ) else : return render ( request , 'template.html' , { 'timezones' : comm ...
https://man.plustar.jp/django/topics/i18n/timezones.html - [similar]
Django の admin サイト — Django 4.0.6 ドキュメント 6212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... er the heading of the fieldset. This string is not rendered for TabularInline due to its layout. Note that t ... s. It is possible to specify a custom template for rendering a list filter: class FilterWithCustomTemplate ( ... .. context = dict ( # Include common variables for rendering the admin template. self . admin_site . each_co ... m the admin application URL dispatching handler to render the pages that deal with model instances CRUD oper ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
Form fields — Django 4.0.6 ドキュメント 6212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... field's form is initialized, in addition to during rendering. Defaults to an empty list. DateField ¶ class D ... user's selection. It's evaluated when the form is rendered. ModelChoiceField also takes several optional ar ... widgets = { 'topping' : ToppingSelect } This will render the Pizza.topping select as: < select id = "id_top ... e ¶ The value of the choice. This value is used to render the value attribute of an HTML <option> element. i ...
https://man.plustar.jp/django/ref/forms/fields.html - [similar]
Unicode data — Django 4.0.6 ドキュメント 6212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... with Django -- e.g., in database lookups, template rendering or anywhere else -- you have two choices for en ... to the strings generated as the result of template rendering (and email). Django will always assume UTF-8 en ... e DEFAULT_CHARSET setting controls the encoding of rendered templates. This is set to UTF-8 by default. Temp ... lters: Always return strings from a template tag's render() method and from template filters. Use force_str( ...
https://man.plustar.jp/django/ref/unicode.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 6212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ng was True , any exception raised during template rendering (even exceptions unrelated to template syntax) ... This means that catching exceptions from template rendering is now consistent regardless of the value of TE ... : with self . assertTemplateUsed ( 'index.html' ): render_to_string ( 'index.html' ) with self . assertTempl ... ateNotUsed ( 'base.html' ): render_to_string ( 'index.html' ) See the assertion docum ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
Django 2.1 リリースノート — Django 4.0.6 ドキュメント 6212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... cookies. フォーム ¶ The widget for ImageField now renders with the HTML attribute accept="image/*" . 国際化 ... .utils.http.is_safe_url() . The multiple attribute rendered by the SelectMultiple widget now uses HTML5 bool ... tax rather than XHTML's multiple="multiple" . HTML rendered by form widgets no longer includes a closing sla ... ) is removed. Silencing of exceptions raised while rendering the {% include %} template tag is removed. Data ...
https://man.plustar.jp/django/releases/2.1.html - [similar]
セッションの使いかた — Django 4.0.6 ドキュメント 6212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... p import HttpResponse from django.shortcuts import render def login ( request ): if request . method == 'POS ... ." ) request . session . set_test_cookie () return render ( request , 'foo/login_form.html' ) ビューの外でセ ...
https://man.plustar.jp/django/topics/http/sessions.html - [similar]
マイグレーション操作 — Django 4.0.6 ドキュメント 6155
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... base_forwards() or database_backwards() , you must render model states using the clear_delayed_apps_cache() ...
https://man.plustar.jp/django/ref/migration-operations.html - [similar]
設定 — Django 4.0.6 ドキュメント 6155
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... template with that name exists, it will be used to render the page. CSRF_HEADER_NAME ¶ デフォルト値: 'HTTP_X ... rate correct URLs when SCRIPT_NAME is not / . FORM_RENDERER ¶ Default: ' django.forms.renderers.DjangoTempla ... tes ' The class that renders forms and form widgets. It must implement the low ... -level render API . Included form renderers are: ' django.forms. ...
https://man.plustar.jp/django/ref/settings.html - [similar]
組み込みタグとフィルタ — Django 4.0.6 ドキュメント 6155
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... た理由を記述したいときなどに便利です。 使用例: < p > Rendered text with {{ pub_date | date :"c" }} </ p > {% c ... de template_name %} 変数は、コンテキストを受け取る render() メソッドを持っていればオブジェクトでも構いません ... 前をつけます: {% verbatim myblock %} Avoid template rendering via the {% verbatim %}{% endverbatim %} block. ... filter instead (or along with time if you need to render a full datetime value). 上記のルールにはひとつ例外 ...
https://man.plustar.jp/django/ref/templates/builtins.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT