検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 29 for DIRS (0.029 sec.)
How to override templates — Django 4.0.6 ドキュメント 13672
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... トリからテンプレートをロードしようとします。つまり、 DIRS は APP_DIRS より前に検索されます。 参考 そのような ... jango.template.backends.django.DjangoTemplates' , 'DIRS' : [ BASE_DIR / 'templates' ], 'APP_DIRS' : True , ... template. The setting that needs to be modified is DIRS . These settings assume you have a templates direc ... e template loader first looks for templates in the DIRS directory. When the views in the blog app ask for ...
https://man.plustar.jp/django/howto/overriding-templates.html - [similar]
The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 12514
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... what's passed by DjangoTemplates . class Engine ( dirs = None , app_dirs = False , context_processors = N ... all arguments must be passed as keyword arguments: dirs is a list of directories where the engine should l ... esystem.Loader . It defaults to an empty list. app_dirs only affects the default value of loaders . See be ... loaders.app_directories.Loader' if and only if app_dirs is True . If debug is False , these loaders are wr ...
https://man.plustar.jp/django/ref/templates/api.html - [similar]
テンプレート — Django 4.0.6 ドキュメント 11241
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... jango.template.backends.django.DjangoTemplates' , 'DIRS' : [], 'APP_DIRS' : True , 'OPTIONS' : { # ... som ... ンのトップレベルの設定には次の2つの設定があります。 DIRS には、エンジンがテンプレートのソースファイルを検索 ... するディレクトリのリストを、検索順に定義します。 APP_DIRS には、エンジンがインストールしたアプリケーション内 ... jango.template.backends.django.DjangoTemplates' , 'DIRS' : [ '/home/html/example.com' , '/home/html/defaul ...
https://man.plustar.jp/django/topics/templates.html - [similar]
設定 — Django 4.0.6 ドキュメント 9495
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 0 means Sunday, 1 means Monday and so on. FIXTURE_DIRS ¶ デフォルト値: [] (空のリスト) List of directorie ... o.template.backends.django.DjangoTemplates' , 'APP_DIRS' : True , }, ] The following options are available ... ver.Backend' then its default name is 'whatever' . DIRS ¶ デフォルト値: [] (空のリスト) Directories where ... ok for template source files, in search order. APP_DIRS ¶ デフォルト値: False Whether the engine should lo ...
https://man.plustar.jp/django/ref/settings.html - [similar]
はじめての Django アプリ作成、その 7 — Django 4.0.6 ドキュメント 8794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 開いて、 TEMPLATES 設定オプションの中に、次のように DIRS オプションを追加します。 mysite/settings.py ¶ TEMP ... jango.template.backends.django.DjangoTemplates' , 'DIRS' : [ BASE_DIR / 'templates' ], 'APP_DIRS' : True , ... messages.context_processors.messages' , ], }, }, ] DIRS は、Django がテンプレートを読み込む時にチェックする ... タマイズする ¶ するどい読者はこう質問されるでしょう: DIRS はデフォルトで空っぽなのに、 Django はなぜデフォル ...
https://man.plustar.jp/django/intro/tutorial07.html - [similar]
システムチェックフレームワーク — Django 4.0.6 ドキュメント 8794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... de/contains MEDIA_ROOT / STATIC_ROOT / STATICFILES_DIRS . caches.W003 : Your <cache> cache LOCATION is rel ... ファイルの管理 : files.E001 : The FILE_UPLOAD_TEMP_DIR setting refers to the nonexistent directory <path> ... rrectly configured: templates.E001 : You have 'APP_DIRS': True in your TEMPLATES but also specify 'loaders ... ' in OPTIONS . Either remove APP_DIRS or remove the 'loaders' option. templates.E002 : s ...
https://man.plustar.jp/django/ref/checks.html - [similar]
How to manage static files (e.g. images, JavaScript, CSS) — Django 4.0.6 ドキュ... 8337
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... に、設定ファイルでディレクトリのリスト ( STATICFILES_DIRS ) を定義して、Django が静的ファイルを検索できるよう ... きます。たとえば、次のように設定します。 STATICFILES_DIRS = [ BASE_DIR / "static" , '/var/www/static/' , ] s ... lf. You can namespace static assets in STATICFILES_DIRS by specifying prefixes . 開発時の静的ファイルの取扱 ...
https://man.plustar.jp/django/howto/static-files/index.html - [similar]
The form rendering API — Django 4.0.6 ドキュメント 8223
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... in INSTALLED_APPS and at least one engine with APP_DIRS=True . Adding the built-in templates directory in ...
https://man.plustar.jp/django/ref/forms/renderers.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 8223
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... now prevents repeated fixture loading. If FIXTURE_DIRS contains duplicates or a default fixture directory ... EMPLATE_CONTEXT_PROCESSORS TEMPLATE_DEBUG TEMPLATE_DIRS TEMPLATE_LOADERS TEMPLATE_STRING_IF_INVALID django ... s the request separately in the request parameter. dirs argument of template-finding functions ¶ The follo ... wing functions will no longer accept a dirs parameter to override TEMPLATE_DIRS in Django 1.10 ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
The staticfiles app — Django 4.0.6 ドキュメント 7994
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... owing settings: STATIC_ROOT STATIC_URL STATICFILES_DIRS STATICFILES_STORAGE STATICFILES_FINDERS 管理コマン ... is to look in all locations defined in STATICFILES_DIRS and in the 'static' directory of apps specified by ... s accordingly. Don't forget to set the STATICFILES_DIRS setting appropriately to let django.contrib.static ...
https://man.plustar.jp/django/ref/contrib/staticfiles.html - [similar]
PREV 1 2 3 NEXT