per page, with , order by , clip by
Results of 1 - 10 of about 32 for cycle (0.007 sec.)
組み込みテンプレートタグとフィルタ 14885
組み込みテンプレートタグとフィルタ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーション を使えばインストールされている組み込みタグとカスタムタグのドキュメントを読めるのでお勧めで ... rocessor is not configured, assets are rendered without a nonce attribute. See Nonce usage for full configuration details. cycle タグを実行するごとに、引数の文字列や変数から、順に一つずつ値を出力します。最初の処理では 1 番目の値が、その次に 2 番目の値 ... 出力すると、再び 1 番目に戻って出力します。 このタグは特にループの中で役立ちます: {% for o in some_list %} < tr class = " {% cycle 'row1' 'row2' %} " > ... </ tr > {% endfor %} この例では、繰り返しの最初の実行では row1 クラスを参照する HTML が生成されま ... lue2 という2つのテンプレート変数がある場合、以下のように交互に値を変更できます: {% for o in some_list %} < tr class = " {% cycle rowvalue1 rowvalue2 %} " > ... </ tr > {% endfor %} Variables included in the cycle will be escaped. You can disable auto- ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
Django のリリースプロセス 11872
Django のリリースプロセス フィーチャーリリース Feature releases contain new features, improvements to existing features, and other enhancements. Each version will be mostly backwards compatible with the previous release. Exceptions to this ... ss fixes for three years: one year of mainstream support followed by two years of extended support. See the annual release cycle for more details. See the download page for the A.B releases that have been designated for long-term support. 公式リリース ... y policies . Django 6.2 is the last release using this numbering scheme and release cadence. Please see the annual release cycle for details on the new release process. リリース周期 From Django 2.0, and ending with Django 6.2, version numbers use a lo ... lace of 7.0 and Django 2029 taking the place of 7.1. Features deprecated in Django 2028 or later follow the annual release cycle deprecation policy . 関連情報として、 Deprecating a feature ガイドも参照してください。 サポートバージョン Django の開発チー ...
https://man.mtool.work/django/6.1/internals/release-process.html
独自のテンプレートタグとフィルタを作る 9424
独自のテンプレートタグとフィルタを作る Django のテンプレート言語は、アプリケーションのプレゼンテーションロジックのニーズに対応するように設計された、多種多様な 埋め込みタグやフィルタ を搭載しています。それでもなお、テンプレート構成要素のコア ... 、ノード自体に状態情報を保存してはいけません。例えば、 Django にはレンダリングされる度に与えられた文字列のリストを循環させる cycle テンプレートタグが用意されています: {% for o in some_list %} < tr class = " {% cycle 'row1' 'row2' %} " > ... </ tr > {% e ... ndfor %} ナイーブな CycleNode の実装は次のようになります: import itertools from django import template class CycleNode ( template . Node ): def __in ... it__ ( self , cyclevars ): self . cycle_iter = itertools . cycle ( cyclevars ) def render ( self , context ): return next ( self . cycle_iter ...
https://man.mtool.work/django/6.1/howto/custom-template-tags.html
Django 1.2 リリースノート 9230
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 ... セーフでない ことに依存していた場合は、テンプレートを更新する必要があるかもしれません。特に include タグと併用していた場合、 cycle タグが最も影響を受けやすいでしょう。次のようなテンプレートを考えてみます。 {% for object in object_list %} {% include "sub ... template.html" %} {% endfor %} with a subtemplate.html that reads: {% cycle 'even' 'odd' %} Django 1.2 以前のスレッドセーフでないレンダラーを使用すると、以下のように出力されます。 even odd even odd ... 力されます。 even even even even ... This is because each rendering of the include tag is an independent rendering. When the cycle tag was not thread safe, the state of the cycle tag would leak between multiple renderings of the same include . Now that ...
https://man.mtool.work/django/6.1/releases/1.2.html
Django's Tasks framework 9230
Django's Tasks framework New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's often more than just turning HTTP requests into HTTP responses. For some functionality, it may be ... beneficial to run code outside the request-response cycle. That's where background Tasks come in. Background Tasks can offload work to be run outside the request-response cycle, to ... , executes it, and saves the status and result back to the Queue Store. These workers run outside the request-response lifecycle. Configuring a Task backend The Task backend determines how and where Tasks are stored for execution and how they are exec ... of type datetime is not JSON serializable Arguments must also be able to round-trip through a json.dumps() / json.loads() cycle without changing type. For example, consider this Task: @task () def double_dictionary ( key ): return { key : key * 2 } W ...
https://man.mtool.work/django/6.1/topics/tasks.html
Django 1.8 リリースノート 8667
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... butes are specified. Previously, fields was silently ignored. When following redirects, the test client now raises RedirectCycleError if it detects a loop or hits a maximum redirect limit (rather than passing silently). Translatable strings set as the ... cts_with_model() get_concrete_fields_with_model() get_field_by_name() get_fields_with_model() get_m2m_with_model() Loading cycle and firstof template tags from future library Django 1.6 introduced {% load cycle from future %} and {% load firstof from ... future %} syntax for forward compatibility of the cycle and firstof template tags. This syntax is now deprecated and will be removed in Django 1.10. You can simply remove the {% ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 6.0 release notes 8667
Django 6.0 release notes December 3, 2025 Welcome to Django 6.0! These release notes cover the new features , as well as some backwards incompatible changes you should be aware of when upgrading from Django 5.2 or earlier. We've begun the d ... ackage. Background Tasks Django now includes a built-in Tasks framework for running code outside the HTTP request–response cycle. This enables offloading work, such as sending emails or processing data, to background workers. The framework provides ta ... go 2028. Set the transitional setting URLIZE_ASSUME_HTTPS to True to opt into assuming HTTPS during the Django 6.x release cycle. The URLIZE_ASSUME_HTTPS transitional setting is deprecated. Setting ADMINS or MANAGERS to a list of (name, address) tuple ... itize_address() functions are deprecated. Features removed in 6.0 These features have reached the end of their deprecation cycle and are removed in Django 6.0. See 5.0 で非推奨となった機能 for details on these changes, including how to remove usage of ...
https://man.mtool.work/django/6.1/releases/6.0.html
Django internals 8489
Django internals Django 自体に取り組む(ハックする)人のためのドキュメントです。Django を改善するのを手伝いたい、または Django の管理方法を学びたい場合、ここから始めましょう。 Django へのコントリビュート Communication channels さぁ始めましょ ... jango のリリースプロセス 公式リリース リリース周期 非推奨のポリシー サポートバージョン リリースプロセス The annual release cycle Django の機能廃止のタイムライン 2028 6.1 6.0 5.1 5.0 4.1 4.0 3.1 3.0 2.1 2.0 1.10 1.9 1.8 1.7 1.6 1.5 1.4 1.3 Djangoソース ...
https://man.mtool.work/django/6.1/internals/
Django 1.6 リリースノート 8489
Django 1.6 リリースノート 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very dear friend and developer. Malcolm was a long-time contributor to Django, a model community mem ... performance improvements and to take advantage of the native streaming replication available in PostgreSQL 9.x. Changes to cycle and firstof The template system generally escapes all variables to avoid XSS attacks. However, due to an accident of histo ... ry, the cycle and firstof tags render their arguments as-is. Django 1.6 starts a process to correct this inconsistency. The future templ ... ate library provides alternate implementations of cycle and firstof that autoescape their inputs. If you're using these tags, you're encouraged to include the following line at t ...
https://man.mtool.work/django/6.1/releases/1.6.html
Django 1.10 リリースノート 8296
Django 1.10 リリースノート 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレードする際に注意が必要な 後方互換性が失われた変更点 について説明します。私たちは、非推奨の期間 ... ot in INSTALLED_APPS . URL An addition in django.setup() allows URL resolving that happens outside of the request/response cycle (e.g. in management commands and standalone scripts) to take FORCE_SCRIPT_NAME into account when it is set. バリデータ URL ... this section, be sure to review the 1.10 で削除された機能 for the features that have reached the end of their deprecation cycle and therefore been removed. If you haven't updated your code within the deprecation timeline for a given feature, its remo ... ます。 Support for calling a SQLCompiler directly as an alias for calling its quote_name_unless_alias method is removed. The cycle and firstof template tags are removed from the future template tag library. django.conf.urls.patterns() is removed. Suppor ...
https://man.mtool.work/django/6.1/releases/1.10.html
PREV 1 2 3 4 NEXT