per page, with , order by , clip by
Results of 1 - 8 of about 8 for node (0.005 sec.)
独自のテンプレートタグとフィルタを作る 12399
独自のテンプレートタグとフィルタを作る Django のテンプレート言語は、アプリケーションのプレゼンテーションロジックのニーズに対応するように設計された、多種多様な 埋め込みタグやフィルタ を搭載しています。それでもなお、テンプレート構成要素のコア ... コンパイルの仕組みとレンダリングの仕組みを指定します。 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() メソッドの動作を指定します。 コンパイル関数の書き方 テンプレートパー ...
https://man.mtool.work/django/6.1/howto/custom-template-tags.html
Django 1.9.2 リリースノート 11658
Django 1.9.2 リリースノート February 1, 2016 Django 1.9.2 fixes a security regression in 1.9 and several bugs in 1.9.1. It also makes a small backwards incompatible change that hopefully doesn't affect any users. Security issue: User with " ... 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() ( # ...
https://man.mtool.work/django/6.1/releases/1.9.2.html
JavaScript code 9236
JavaScript code While most of Django core is Python, the admin and gis contrib apps contain JavaScript code. Please follow these coding standards when writing JavaScript code for inclusion in Django. Code style Please conform to the indenta ... sts/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 ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/javascript...
Django 1.2 リリースノート 7970
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 ... ion 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 ...
https://man.mtool.work/django/6.1/releases/1.2.html
Unit tests 7772
Unit tests Django comes with a test suite of its own, in the tests directory of the code base. It's our policy to make sure all tests pass at all times. We appreciate any and all contributions to the test suite! The Django tests all use the ... 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 - ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
django-admin と manage.py 7772
django-admin と manage.py django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り説明します。 さらに、 manage.py は各 Django プロジェクト内に自動的に作成されます。 jango-admi ... するディレクトリを無視します。 何度も無視するためには複数回使用してください。 使用例: django-admin compilemessages --ignore=node_modules --ignore=outdated/*/locale createcachetable django-admin createcachetable 設定ファイルからの情報を使用して、データ ... をサポートしています。 巨大なディレクトリに多くのファイルが含まれる場合、パフォーマンスの問題を引き起こす可能性があります。 node_modules のような大きな非 Python ディレクトリを含むプロジェクトで Watchman を使う場合、最適なパフォーマンスのためにこのディ ...
https://man.mtool.work/django/6.1/ref/django-admin.html
Django 4.0 リリースノート 7772
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... ods is renamed to obj . RssFeed , Atom1Feed , and their subclasses now emit elements with no content as self-closing tags. NodeList.render() no longer casts the output of render() method for individual nodes to a string. Node.render() should always r ... triction() method of ForeignObject and ForeignObjectRel are removed. If needed, initialize django.db.models.sql.where.WhereNode instead. The filter_clause argument of the undocumented Query.add_filter() method is replaced by two positional arguments ...
https://man.mtool.work/django/6.1/releases/4.0.html
Python プログラマーのための Django テンプレート言語 7663
Python プログラマーのための Django テンプレート言語 この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点から説明します。構文に関するリファレンスを探しているなら、 Django テンプレート言語 を参照してくだ ... てキャッシュローダで安全に使えますが、サードパーティのパッケージや自分で書いたカスタムテンプレートタグを使う場合は、各タグの Node 実装がスレッドセーフであることを確認する必要があります。詳細は テンプレートタグのスレッド安全性についての注意事項 を参照し ...
https://man.mtool.work/django/6.1/ref/templates/api.html
PREV 1 NEXT