per page, with , order by , clip by
Results of 1 - 10 of about 180 for Template (0.006 sec.)
クラスベースのジェネリックビュー: フラットインデックス 10016
クラスベースのジェネリックビュー: フラットインデックス この索引は、クラスベースビューのリファレンス文書を、異なる観点から編成したものです。ビューごとに、クラスツリーの有効な属性とメソッドが表されます。動作を定義するクラスの観点から編集された ... ew 属性 (とオプションのアクセサ): http_method_names メソッド as_view() dispatch() head() http_method_not_allowed() setup() TemplateView class TemplateView 属性 (とオプションのアクセサ): content_type extra_context http_method_names response_class [ render ... _to_response() ] template_engine template_name [ get_template_names() ] メソッド as_view() dispatch() get() get_context_data() head() http_method_no ... nd_slug queryset [ get_queryset() ] response_class [ render_to_response() ] slug_field [ get_slug_field() ] slug_url_kwarg template_engine template_name [ get_template_names() ] template_name_field template_name_suffix メソッド as_view() dispatch() get() ...
https://man.mtool.work/django/6.1/ref/class-based-views/flattened-index.html
Python プログラマーのための Django テンプレート言語 9839
Python プログラマーのための Django テンプレート言語 この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点から説明します。構文に関するリファレンスを探しているなら、 Django テンプレート言語 を参照してくだ ... てください。 概要 Pythonでテンプレートシステムを使うには3つのステップがあります: Engine を設定します。 テンプレートコードを Template にコンパイルします。 テンプレートを Context においてレンダリングします。 これらの各ステップで、Django プロジェクトは通常、 ... テンプレートシステムの低レベルの API ではなく、 バックエンドに依存しない高レベルの API に依存しています: TEMPLATES 設定の中で、各 DjangoTemplates バックエンドに対して、Djangoは Engine をインスタンス化します。 DjangoTemplates は Engine を ... ラップし、共通のテンプレートバックエンドAPIに適応させます。 django.template.loader モジュールはテンプレートを読み込むための get_template() のなどの関数を提供します。これらは実際の django.template.Te ...
https://man.mtool.work/django/6.1/ref/templates/api.html
テンプレート 9539
テンプレート Django はウェブフレームワークなので、HTML を動的に生成する便利な手段が必要でした。最も一般的なアプローチは、テンプレートに頼ることです。テンプレートには、出力したい HTML を書いた静的な部分と、動的なコンテンツを挿入する方法を書い ... 用しています。 歴史的な理由により、テンプレートエンジンの一般的なサポートと Django テンプレート言語の実装は、両方とも django.template 名前空間に定義されています。 警告 テンプレートシステムは、信頼できないテンプレートの作者に対しては安全ではありません。たと ... で紹介するのは、Django テンプレート言語の API の概要です。詳細については、 API リファレンス をご覧ください。 エンジン django.template.Engine は Django テンプレートシステムのインスタンスをカプセル化します。 Engine を直接インスタンス化する主な理由は、 Django ... プロジェクトの外で Django テンプレート言語を使うためです。 django.template.backends.django.DjangoTemplates は、 django.template.Engine を Django のテンプレートバックエンド API に適応させる薄いラッパ ...
https://man.mtool.work/django/6.1/topics/templates.html
索引 9395
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... ション --symlinks makemessages コマンドラインオプション --tag check コマンドラインオプション test コマンドラインオプション --template startapp コマンドラインオプション startproject コマンドラインオプション --testrunner test コマンドラインオプション --timin ... () (Model のメソッド) __init__() (HttpResponse のメソッド) (QueryDict のメソッド) (requests.RequestSite のメソッド) (SimpleTemplateResponse のメソッド) (SyndicationFeed のメソッド) (TemplateResponse のメソッド) __iter__() (File のメソッド) (HttpRequest の ... o.utils.timezone モジュール) (django.utils.translation モジュール) acycle_key() (backends.base.SessionBase のメソッド) add template filter add() (cache のメソッド) (GeometryCollection のメソッド) (RelatedManager のメソッド) add_action() (AdminSite のメソ ...
https://man.mtool.work/django/6.1/genindex.html
Django 1.8 リリースノート 9362
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... ever, API endpoints that aren't part of the new official API have been deprecated and will eventually be removed. Multiple template engines Django 1.8 defines a stable API for integrating template backends. It includes built-in support for the Django tem ... plate language and for Jinja2 . It supports rendering templates with multiple engines within the same project. Learn more about the new features in the topic guide and check the upgrade ... rol who may login to the admin site by overriding only AdminSite.has_permission() and AdminSite.login_form . The base.html template has a new block usertools which contains the user-specific header. A new context variable has_permission , which gets its ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django の機能廃止のタイムライン 9295
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... contrib.postgres.aggregates.mixins.OrderableAggMixin class will be removed. The default protocol in urlize and urlizetrunc template filters will change from HTTP to HTTPS. The URLIZE_ASSUME_HTTPS transitional setting will be removed. Using a percent sign ... dels.functions.ForceRHR will be removed. django.utils.http.cookie_date() will be removed. The staticfiles and admin_static template tag libraries will be removed. django.contrib.staticfiles.templatetags.static() will be removed. The shim to allow InlineM ... meter of django.utils.http.is_safe_url() will be removed. Silencing of exceptions raised while rendering the {% include %} template tag will be removed. DatabaseIntrospection.get_indexes() will be removed. The authenticate() method of authentication back ...
https://man.mtool.work/django/6.1/internals/deprecation.html
テンプレートのバックエンドをカスタマイズする 9162
テンプレートのバックエンドをカスタマイズする カスタムのバックエンド ここでは、他のテンプレートシステムを使用するために、カスタムテンプレートバックエンドを実装する方法を説明します。テンプレートバックエンドは django.template.backends.base.Bas ... eEngine を継承したクラスです。このクラスは get_template() と、オプションで from_string() を実装する必要があります。以下は架空の foobar テンプレートライブラリの例です: from django ... .template import TemplateDoesNotExist , TemplateSyntaxError from django.template.backends.base import BaseEngine from django.templat ... ort csrf_input_lazy , csrf_token_lazy import foobar class FooBar ( BaseEngine ): # Name of the subdirectory containing the templates for this engine # inside an installed application. app_dirname = "foobar" def __init__ ( self , params ): params = params ...
https://man.mtool.work/django/6.1/howto/custom-template-backend.html
独自のテンプレートタグとフィルタを作る 9029
独自のテンプレートタグとフィルタを作る Django のテンプレート言語は、アプリケーションのプレゼンテーションロジックのニーズに対応するように設計された、多種多様な 埋め込みタグやフィルタ を搭載しています。それでもなお、テンプレート構成要素のコア ... は、自動的にテンプレート内に読み込むことが可能になります。 アプリケーションは、"models.py" や "views.py" などと同じレベルに "templatetags" ディレクトリを含むべきです。まだ存在していない場合は、ディレクトリが Python パッケージとして扱われるようにするため、" ... __init__.py" を忘れないでください。 開発用サーバが自動的にリスタートしない場合 templatetags モジュールを追加した後、テンプレートでタグやフィルタを使用する前に、サーバーを再起動する必要があります。 カスタムタグや ... フィルタは templatetags ディレクトリ内のモジュールにあります。モジュールファイルの名前は、あとでタグをロードして使うので、別のアプリでカスタム ...
https://man.mtool.work/django/6.1/howto/custom-template-tags.html
TemplateResponse および SimpleTemplateResponse 8818
TemplateResponse および SimpleTemplateResponse 標準の HttpResponse オブジェクトは静的な構造体です。構築時にあらかじめレンダリングされたコンテンツのブロックが提供され、そのコンテンツは変更可能ですが、簡単に変更できる形ではありません。 しかし ... なこともあります。たとえば、使用するテンプレートを変更したり、追加データをコンテキストに追加したりしたくなるかもしれません。 TemplateResponse はそのための方法を提供します。基本的な HttpResponse オブジェクトとは異なり、 TemplateResponse オブジェクトはレスポ ... ートとコンテキストの詳細を保持します。レスポンスの最終的な出力は、レスポンス処理の後半で必要になるまで計算されません。 SimpleTemplateResponse オブジェクト class SimpleTemplateResponse [ソース] 属性 SimpleTemplateResponse. template_name The name of the temp ... late to be rendered. Accepts a backend-dependent template object (such as those returned by get_template() ), the name of a template, or a list of template names. 例: ['foo.html', ...
https://man.mtool.work/django/6.1/ref/template-response.html
Django 1.2 リリースノート 8452
Django 1.2 リリースノート 2010 年 5 月 17 日 Django 1.2 へようこそ! Nearly a year in the making, Django 1.2 packs an impressive list of new features and lots of bug fixes. These release notes cover the new features, as well as important cha ... ymous users , and more flexible username requirements . Customization of email sending via email backends . New "smart" if template tag which supports comparison operators. These are just the highlights; full details and a complete list of features may b ... umber of methods have had a change in prototype, detailed under get_db_prep_*() methods on Field , below. The internals of template tags have changed somewhat; authors of custom template tags that need to store state (e.g. custom control flow tags) shoul ... d ensure that their code follows the new rules for stateful template tags The user_passes_test() , login_required() , and permission_required() , decorators from django.contrib.auth only appl ...
https://man.mtool.work/django/6.1/releases/1.2.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT