per page, with , order by , clip by
Results of 1 - 10 of about 32 for Loader (0.009 sec.)
Python プログラマーのための Django テンプレート言語 14692
Python プログラマーのための Django テンプレート言語 この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点から説明します。構文に関するリファレンスを探しているなら、 Django テンプレート言語 を参照してくだ ... ンスタンス化します。 DjangoTemplates は Engine をラップし、共通のテンプレートバックエンドAPIに適応させます。 django.template.loader モジュールはテンプレートを読み込むための get_template() のなどの関数を提供します。これらは実際の django.template.Template ... で渡されたもので上書きされます。 class Engine ( dirs = None , app_dirs = False , context_processors = None , debug = False , loaders = None , string_if_invalid = '' , file_charset = 'utf-8' , libraries = None , builtins = None , autoescape = True ) [ソー ... 引数として渡す必要があります: dirs はエンジンがテンプレートのソースファイルを探すディレクトリのリストです。これは filesystem.Loader を設定するために使用されます。 デフォルトは空のリストです。 app_dirs は loaders のデフォルト値にだけ影響します。下記を参照 ...
https://man.mtool.work/django/6.1/ref/templates/api.html
Django の機能廃止のタイムライン 11437
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... et classes will be removed. The django.contrib.gis.geoip module will be removed. The supports_recursion check for template loaders will be removed from: django.template.engine.Engine.find_template() django.template.loader_tags.ExtendsNode.find_template ... () django.template.loaders.base.Loader.supports_recursion() django.template.loaders.cached.Loader.supports_recursion() The load_template() and load_ ... template_sources() template loader methods will be removed. The template_dirs argument for template loaders will be removed: django.template.loaders.base.Loa ...
https://man.mtool.work/django/6.1/internals/deprecation.html
Django 2.0 リリースノート 10358
Django 2.0 リリースノート December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... ートローダーから supports_recursion チェックが削除されました。 django.template.engine.Engine.find_template() django.template.loader_tags.ExtendsNode.find_template() django.template.loaders.base.Loader.supports_recursion() django.template.loaders.cached.L ... レートローダーメソッドが削除されました。 以下のテンプレートローダーから template_dirs 引数が削除されました。 django.template.loaders.base.Loader.get_template() django.template.loaders.cached.Loader.cache_key() django.template.loaders.cached.Loader.get_te ... mplate() django.template.loaders.cached.Loader.get_template_sources() django.template.loaders.filesystem.Loader.get_template_sources() django.template.loa ...
https://man.mtool.work/django/6.1/releases/2.0.html
Django 1.8 リリースノート 10004
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... a domain or its query string as part of the URL (the URL in e.g. 'djangoproject.com! is djangoproject.com ) Added a locmem.Loader class that loads Django templates from a Python dictionary. The now tag can now store its output in a context variable wit ... o import them from django.template.base instead. Also private APIs django.template.base.compile_string() , django.template.loader.find_template() , and django.template.loader.get_template_from_string() were removed. model attribute on private model rel ... ecessary to ensure the cache_db session store always fetches the most current session data. Private APIs override_template_loaders and override_with_test_loader in django.test.utils were removed. Override TEMPLATES with override_settings instead. Warni ...
https://man.mtool.work/django/6.1/releases/1.8.html
テンプレート 9037
テンプレート Django はウェブフレームワークなので、HTML を動的に生成する便利な手段が必要でした。最も一般的なアプローチは、テンプレートに頼ることです。テンプレートには、出力したい HTML を書いた静的な部分と、動的なコンテンツを挿入する方法を書い ... NAME にユニークな名前を設定しなければなりません。 OPTIONS には、バックエンド特有の設定を書きます。 使い方 django.template.loader モジュールは、テンプレートを読み込むための2つの関数を定義しています。 get_template ( template_name , using = None ) [ソース ... loaded by name. This fragment should have been previously defined using the partialdef template tag: from django.template.loader import get_template # Load an entire template. template = get_template ( "template.html" ) # Load a specific fragment from ... jinja2' エンジン) Django がテンプレートを発見したら、その時点で探索は停止します。 より柔軟性を求める場合は django.template.loader.select_template() を使ってください。 You can use select_template() for flexible template loading. For example, if you've w ...
https://man.mtool.work/django/6.1/topics/templates.html
索引 8554
索引 記号 | _ | 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 コマン ... nyValue (django.db.models のクラス) apnumber template filter apop() (backends.base.SessionBase のメソッド) app_directories.Loader (django.template.loaders のクラス) app_index_template (AdminSite の属性) app_label (ContentType の属性) (Options の属性) a ... onStore の属性) CACHE_MIDDLEWARE_ALIAS setting CACHE_MIDDLEWARE_KEY_PREFIX setting CACHE_MIDDLEWARE_SECONDS setting cached.Loader (django.template.loaders のクラス) cached_property (django.utils.functional のクラス) CACHES setting CACHES-BACKEND settin ... ngo.template.backends module django.template.backends.django module django.template.backends.jinja2 module django.template.loader module django.template.response module django.test module django.test.signals module django.test.signals.setting_changed ( ...
https://man.mtool.work/django/6.1/genindex.html
Django 1.9 リリースノート 8554
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... pports storing the output in a variable using 'as'. Context.update() can now be used as a context manager. Django template loaders can now extend templates recursively. The debug page template postmortem now include output from each engine that is inst ... e a combination of lists and tuples. All settings that were formerly tuples are now lists. is_usable attribute on template loaders is removed 以前、Djangoのテンプレートローダーでは is_usable 属性を定義する必要がありました。テンプレート設定でローダーが設 ... y on direct assignment for many-to-many relations and as a consequence now use the new behavior. Filesystem-based template loaders catch more specific exceptions When using the filesystem.Loader or app_directories.Loader template loaders, earlier versi ...
https://man.mtool.work/django/6.1/releases/1.9.html
Django 1.9.6 リリースノート 8199
Django 1.9.6 リリースノート May 2, 2016 Django 1.9.6 では、1.9.5 にあったいくつかのバグを修正しました。 バグ修正 Added support for relative path redirects to the test client and to SimpleTestCase.assertRedirects() because Django 1.9 no long ... rned None rather than raising a KeyError for nonexistent values ( #26520 ). Fixed a regression causing the cached template loader to crash when using template names starting with a dash ( #26536 ). Restored conversion of an empty string to null when sa ...
https://man.mtool.work/django/6.1/releases/1.9.6.html
Django 1.9.7 リリースノート 8199
Django 1.9.7 リリースノート 2016年6月4日 Django 1.9.7 では、1.9.6 にあったいくつかのバグを修正しました。 バグ修正 Removed the need for the request context processor on the admin login page to fix a regression in 1.9 ( #26558 ). Fixed transl ... ation of password validators' help_text in forms ( #26544 ). Fixed a regression causing the cached template loader to crash when using lazy template names ( #26603 ). Fixed on_commit callbacks execution order when callbacks make transact ...
https://man.mtool.work/django/6.1/releases/1.9.7.html
Django 1.11 リリースノート 8071
Django 1.11 リリースノート April 4, 2017 Django 1.11 へようこそ! このリリースノートでは、Django 1.10 および過去のバージョンからアップグレードする際に知っておくべきいくつかの 後方互換性のない変更 に加え、 新機能 を説明しています。 いくつかの ... low resetting the sequence of the cycle template tag. You can now specify specific directories for a particular filesystem.Loader . テスト Added DiscoverRunner.get_test_runner_kwargs() to allow customizing the keyword arguments passed to the test runne ... dropped. The widgets in contrib.gis.forms.widgets and the admin's OpenLayersWidget use the form rendering API rather than loader.render_to_string() . If you're using a custom widget template, you'll need to be sure your form renderer can locate it. Fo ... ility with multiple template engines, django.template.backends.django.Template.render() (returned from high-level template loader APIs such as loader.get_template() ) must receive a dictionary of context rather than Context or RequestContext . If you w ...
https://man.mtool.work/django/6.1/releases/1.11.html
PREV 1 2 3 4 NEXT