... コンパイルの仕組みとレンダリングの仕組みを指定します。 When Django compiles a template, it splits the raw template text into nodes . Each node is an instance of django.template.Node and has a render() method. A compiled template is a list of Node objec ... ts. When you call render() on a compiled template object, the template calls render() on each Node in its node list, with the given context. The results are all concatenated together to form the output of the template. こ ... のように、カスタムテンプレートタグを定義するには、生のテンプレートタグを Node に変換する方法(コンパイル関数)と、ノードの render() メソッドの動作を指定します。 コンパイル関数の書き方 ¶ テンプレートパ ... ... コンパイルの仕組みとレンダリングの仕組みを指定します。 When Django compiles a template, it splits the raw template text into nodes . Each node is an instance of django.template.Node and has a render() method. A compiled template is a list of Node objec ... ts. When you call render() on a compiled template object, the template calls render() on each Node in its node list, with the given context. The results are all concatenated together to form the output of the template. こ ... のように、カスタムテンプレートタグを定義するには、生のテンプレートタグを Node に変換する方法(コンパイル関数)と、ノードの render() メソッドの動作を指定します。 コンパイル関数の書き方 ¶ テンプレートパ ... ... ON_MODULES setting ( #26135 ). Restored the ability for testing and debugging tools to determine the template from which a node came from, even during template inheritance or inclusion. Prior to Django 1.9, debugging tools could access the template o ... rigin from the node via Node.token.source[0] . This was an undocumented, private API. The origin is now available directly on each node using ... the Node.origin attribute ( #25848 ). Fixed a regression in Django 1.8.5 that broke copying a SimpleLazyObject with copy.copy() ( # ... ... ON_MODULES setting ( #26135 ). Restored the ability for testing and debugging tools to determine the template from which a node came from, even during template inheritance or inclusion. Prior to Django 1.9, debugging tools could access the template o ... rigin from the node via Node.token.source[0] . This was an undocumented, private API. The origin is now available directly on each node using ... the Node.origin attribute ( #25848 ). Fixed a regression in Django 1.8.5 that broke copying a SimpleLazyObject with copy.copy() ( # ... ... s/tests.html in your web browser. Testing from the command line ¶ To run the tests from the command line, you need to have Node.js installed. After installing Node.js , install the JavaScript test dependencies by running the following from the root o ... ... s/tests.html in your web browser. Testing from the command line ¶ To run the tests from the command line, you need to have Node.js installed. After installing Node.js , install the JavaScript test dependencies by running the following from the root o ... ... n argument to resolve database-specific values. Stateful template tags ¶ Template tags that store rendering state on their Node subclass have always been vulnerable to thread-safety and other issues; as of Django 1.2, however, they may also cause pro ... f you're using custom template tags that come from third party packages, or from your own code, you should ensure that the Node implementation for each tag is thread-safe. For more information, see template tag thread safety considerations . Django の ... um to determine if a limit was to be imposed on the number of generated forms. The default value of 0 meant that there was no default limit on the number of forms in a FormSet. Starting with 1.2, the default value for max_num has been changed to None ... ... n argument to resolve database-specific values. Stateful template tags ¶ Template tags that store rendering state on their Node subclass have always been vulnerable to thread-safety and other issues; as of Django 1.2, however, they may also cause pro ... f you're using custom template tags that come from third party packages, or from your own code, you should ensure that the Node implementation for each tag is thread-safe. For more information, see template tag thread safety considerations . Django の ... um to determine if a limit was to be imposed on the number of generated forms. The default value of 0 meant that there was no default limit on the number of forms in a FormSet. Starting with 1.2, the default value for max_num has been changed to None ... ... nit tests for functions in certain contrib apps. The JavaScript tests aren't run by default using tox because they require Node.js to be installed and aren't necessary for the majority of patches. To run the JavaScript tests using tox : / $ tox - ... ... するディレクトリを無視します。 何度も無視するためには複数回使用してください。 使用例: django-admin compilemessages --ignore=node_modules --ignore=outdated/*/locale createcachetable ¶ django-admin createcachetable ¶ 設定ファイルからの情報を使用して、デ ... をサポートしています。 巨大なディレクトリに多くのファイルが含まれる場合、パフォーマンスの問題を引き起こす可能性があります。 node_modules のような大きな非 Python ディレクトリを含むプロジェクトで Watchman を使う場合、最適なパフォーマンスのためにこのディ ... 2026年10月08日