per page, with , order by , clip by
Results of 1 - 10 of about 148 for templates (0.005 sec.)
テンプレートをオーバーライドする — Django 6.1 ドキュメント 12215
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テンプレートをオーバーライドする ¶ プロジェクトでは、 django.contrib.admin のような contrib アプリケーションやサードパーティアプリケーションで Djang ... 参考 そのようなことをしたい場合は、 組み込みのウィジェットテンプレートをオーバーライドする を読んでください。 プロジェクトのtemplatesディレクトリからオーバーライドする ¶ 最初に、プロジェクトのテンプレートディレクトリに置き換え用テンプレートを作成して、テンプ ... pathlib import Path BASE_DIR = Path ( __file__ ) . resolve () . parent . parent INSTALLED_APPS = [ ... , "blog" , ... , ] TEMPLATES = [ { "BACKEND" : "django.template.backends.django.DjangoTemplates" , "DIRS" : [ BASE_DIR / "templates" ], "APP_DIRS" : Tr ... ue , # ... }, ] デフォルトのプロジェクトテンプレートを使ってプロジェクトを作成した場合、 TEMPLATES 設定と BASE_DIR はすでに存在しています。変更が必要な設定は DIRS です。 これらの設定はプロジェクトのルートに templates ディ ...
https://man.mtool.work/django/6.1/howto/overriding-templates.html
テンプレートをオーバーライドする — Django 6.1 ドキュメント 12121
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テンプレートをオーバーライドする ¶ プロジェクトでは、 django.contrib.admin のような contrib アプリケーションやサードパーティアプリケーションで Djang ... 参考 そのようなことをしたい場合は、 組み込みのウィジェットテンプレートをオーバーライドする を読んでください。 プロジェクトのtemplatesディレクトリからオーバーライドする ¶ 最初に、プロジェクトのテンプレートディレクトリに置き換え用テンプレートを作成して、テンプ ... pathlib import Path BASE_DIR = Path ( __file__ ) . resolve () . parent . parent INSTALLED_APPS = [ ... , "blog" , ... , ] TEMPLATES = [ { "BACKEND" : "django.template.backends.django.DjangoTemplates" , "DIRS" : [ BASE_DIR / "templates" ], "APP_DIRS" : Tr ... ue , # ... }, ] デフォルトのプロジェクトテンプレートを使ってプロジェクトを作成した場合、 TEMPLATES 設定と BASE_DIR はすでに存在しています。変更が必要な設定は DIRS です。 これらの設定はプロジェクトのルートに templates ディ ...
https://man.mtool.work/django/6.1/howto/overriding-templates.html
Python プログラマーのための Django テンプレート言語 — Django 6.1 ドキュメント 8824
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Python プログラマーのための Django テンプレート言語 ¶ この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点か ... プロジェクトは通常、テンプレートシステムの低レベルの API ではなく、 バックエンドに依存しない高レベルの API に依存しています: TEMPLATES 設定の中で、各 DjangoTemplates バックエンドに対して、Djangoは Engine をインスタンス化します。 DjangoTemplates は Engine を ... によってはリクエストを Context に集約し、その下にある Template にレンダリングを委譲します。 エンジンを設定する ¶ もし DjangoTemplates バックエンドを使っているのであれば、これはおそらくあなたが探しているドキュメントではありません。後述する Engine クラスのイ ... ンスタンスには、そのバックエンドの engine 属性を使ってアクセスすることができ、後述する属性のデフォルトは DjangoTemplates で渡されたもので上書きされます。 class Engine ( dirs = None , app_dirs = False , context_processors = None , debug = False ...
https://man.mtool.work/django/6.1/ref/templates/api.html
Python プログラマーのための Django テンプレート言語 — Django 6.1 ドキュメント 8824
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Python プログラマーのための Django テンプレート言語 ¶ この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点か ... プロジェクトは通常、テンプレートシステムの低レベルの API ではなく、 バックエンドに依存しない高レベルの API に依存しています: TEMPLATES 設定の中で、各 DjangoTemplates バックエンドに対して、Djangoは Engine をインスタンス化します。 DjangoTemplates は Engine を ... によってはリクエストを Context に集約し、その下にある Template にレンダリングを委譲します。 エンジンを設定する ¶ もし DjangoTemplates バックエンドを使っているのであれば、これはおそらくあなたが探しているドキュメントではありません。後述する Engine クラスのイ ... ンスタンスには、そのバックエンドの engine 属性を使ってアクセスすることができ、後述する属性のデフォルトは DjangoTemplates で渡されたもので上書きされます。 class Engine ( dirs = None , app_dirs = False , context_processors = None , debug = False ...
https://man.mtool.work/django/6.1/ref/templates/api.html
Django 1.6 リリースノート — Django 6.1 ドキュメント 8178
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6 リリースノート ¶ 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very d ... on 3.4 is not supported, but support will be added in Django 1.7. Django 1.6 の新機能 ¶ Simplified default project and app templates ¶ The default templates used by startproject and startapp have been simplified and modernized. The admin is now enabled by ... s; the sites framework no longer is. clickjacking prevention is now on and the database defaults to SQLite. If the default templates don't suit your tastes, you can use custom project and app templates . Improved transaction management ¶ Django's transact ... een upgraded to version 1.9.1. Syndication feeds ( django.contrib.syndication ) can now pass extra context through to feed templates using a new Feed.get_context_data() callback. The admin list columns have a column-<field_name> class in the HTML so the c ...
https://man.mtool.work/django/6.1/releases/1.6.html
はじめての Django アプリ作成、その 3 — Django 6.1 ドキュメント 8178
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 3 ¶ このチュートリアルは チュートリアルその 2 の続きです。ここでは、引続き Web 投票アプリケーションの開発を例にし ... ded in the view. If you want to change the way the page looks, you'll have to edit this Python code. So let's use Django's template system to separate the design from Python by creating a template that the view can use. 最初に、 polls ディレクトリの中に、 ... templates ディレクトリを作成します。 Django はそこからテンプレートを探します。 プロジェクトの TEMPLATES には、Django がどのようにテン ... プレートをロードしレンダリングするかが書かれています。デフォルトの設定ファイルでは、 DjangoTemplates バックエンドが設定されており、その APP_DIRS のオプションが True になっています。規約により、 DjangoTemplates は INSTALLED_ ...
https://man.mtool.work/django/6.1/intro/tutorial03.html
Django 1.6 リリースノート — Django 6.1 ドキュメント 8178
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6 リリースノート ¶ 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very d ... on 3.4 is not supported, but support will be added in Django 1.7. Django 1.6 の新機能 ¶ Simplified default project and app templates ¶ The default templates used by startproject and startapp have been simplified and modernized. The admin is now enabled by ... s; the sites framework no longer is. clickjacking prevention is now on and the database defaults to SQLite. If the default templates don't suit your tastes, you can use custom project and app templates . Improved transaction management ¶ Django's transact ... een upgraded to version 1.9.1. Syndication feeds ( django.contrib.syndication ) can now pass extra context through to feed templates using a new Feed.get_context_data() callback. The admin list columns have a column-<field_name> class in the HTML so the c ...
https://man.mtool.work/django/6.1/releases/1.6.html
Django 4.1 リリースノート — Django 6.1 ドキュメント 8096
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.1 リリースノート ¶ 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレー ... rendering accessibility ¶ In order to aid users with screen readers, and other assistive technology, new <div> based form templates are available from this release. These provide more accessible navigation than the older templates, and are able to correc ... tly group related controls, such as radio-lists, into fieldsets. The new templates are recommended, and will become the default form rendering style when outputting a form, like {{ form }} in a template, f ... rom Django 5.0. In order to ease adopting the new output style, the default form and formset templates are now configurable at the project level via the FORM_RENDERER setting. See the Forms section (below) for full details. C ...
https://man.mtool.work/django/6.1/releases/4.1.html
Django 4.1 リリースノート — Django 6.1 ドキュメント 8002
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.1 リリースノート ¶ 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレー ... rendering accessibility ¶ In order to aid users with screen readers, and other assistive technology, new <div> based form templates are available from this release. These provide more accessible navigation than the older templates, and are able to correc ... tly group related controls, such as radio-lists, into fieldsets. The new templates are recommended, and will become the default form rendering style when outputting a form, like {{ form }} in a template, f ... rom Django 5.0. In order to ease adopting the new output style, the default form and formset templates are now configurable at the project level via the FORM_RENDERER setting. See the Forms section (below) for full details. C ...
https://man.mtool.work/django/6.1/releases/4.1.html
はじめての Django アプリ作成、その 7 — Django 6.1 ドキュメント 8002
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 7 ¶ このチュートリアルは チュートリアル その6 の続きです。ここでは、引き続き Web 投票アプリケーションの開発を続け ... go独自のテンプレートシステムを使用しています。 プロジェクト テンプレートをカスタムする。 ¶ djangotutorial ディレクトリ内に templates ディレクトリを作成してください。テンプレートは、Djangoがアクセスできる任意の場所に配置できます(Djangoはサーバーが実行され ... 。しかし、プロジェクト内にテンプレートを配置するのが良い慣習とされています。 設定ファイル ( mysite/settings.py ) を開いて、 TEMPLATES 設定オプションの中に、次のように DIRS オプションを追加します。 mysite/settings.py ¶ TEMPLATES = [ { "BACKEND" : "django.te ... mplate.backends.django.DjangoTemplates" , "DIRS" : [ BASE_DIR / "templates" ], "APP_DIRS" : True , "OPTIONS" : { "context_processors" : [ "django.template.contex ...
https://man.mtool.work/django/6.1/intro/tutorial07.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT