per page, with , order by , clip by
Results of 1 - 3 of about 3 for endautoescape (0.003 sec.)
組み込みテンプレートタグとフィルタ 11403
組み込みテンプレートタグとフィルタ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーション を使えばインストールされている組み込みタグとカスタムタグのドキュメントを読めるのでお勧めで ... 能を制御します。このタグは引数に on または off を取り、ブロック内の自動エスケープの有効・無効を決定します。ブロックの最後は endautoescape タグで閉じるようにします。 使用例: {% autoescape on %} {{ body }} {% endautoescape %} 自動エスケープがオンの場合、すべての ... かしドキュメント化されている)結果を引き起こす可能性があります: {% autoescape off %} {{ my_list | join :", " | escape }} {% endautoescape %} 上記のコードは my_list の結合された要素をエスケープせずに出力します。これは、フィルタ連結シーケンスが最初に my_list に対 ... 要素を適切にエスケープするには escapeseq フィルタを使います: {% autoescape off %} {{ my_list | escapeseq | join :", " }} {% endautoescape %} block 子テンプレートによってオーバーライドされる部分を定義します。詳しくは テンプレートの継承 を参照してください。 comm ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
Django テンプレート言語 9598
Django テンプレート言語 このドキュメントはDjangoテンプレートシステムの文法を説明しています。もしあなたがもっと技術者的な観点でどう動かすかやどう拡張するかを知りたい場合は、 Python プログラマーのための Django テンプレート言語 を参照してくださ ... ンプレート (または テンプレートの一部) を、以下のように autoescape タグで囲みます: {% autoescape off %} Hello {{ name }} {% endautoescape %} autoescape タグは、 on または off を引数にとります。 テンプレートのある範囲を自動エスケープし、さらにその一部で自動エス ... ot be auto-escaped: {{ data }} . Nor this: {{ other_data }} {% autoescape on %} Auto-escaping applies again: {{ name }} {% endautoescape %} {% endautoescape %} 自動エスケープのタグは、他のブロックタグと同様、タグを設定したテンプレートを継承している他のテンプレ ... します。 base.html {% autoescape off %} < h1 > {% block title %}{% endblock %} </ h1 > {% block content %} {% endblock %} {% endautoescape %} child.html {% extends "base.html" %} {% block title %} This &amp; that {% endblock %} {% block content %}{{ greeting }} ...
https://man.mtool.work/django/6.1/ref/templates/language.html
Porting your apps from Django 0.96 to 1.0 6882
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... particular section of the template) in the autoescape tag: {% autoescape off %} ... unescaped template content here ... {% endautoescape %} Less-common changes The following changes are smaller, more localized changes. They should only affect more advanced us ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
PREV 1 NEXT