per page, with , order by , clip by
Results of 1 - 7 of about 7 for firstof (0.008 sec.)
Django 1.6 リリースノート 11450
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 ... e 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 history, the cycl ... e and firstof tags render their arguments as-is. Django 1.6 starts a process to correct this inconsistency. The future template 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 the top of yo ...
https://man.mtool.work/django/6.1/releases/1.6.html
組み込みテンプレートタグとフィルタ 10941
組み込みテンプレートタグとフィルタ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーション を使えばインストールされている組み込みタグとカスタムタグのドキュメントを読めるのでお勧めで ... ィルタは引数として与えることができません。ブロックの自動エスケープを管理するには、代わりに autoescape タグを使ってください。 firstof 最初の引数変数が "false" でない(つまり、存在し、空でなく、False の真偽値でなく、0 の数値でない)場合、その変数を出力します ... 。渡された変数がすべて "false" の場合は何も出力しません。 使用例: {% firstof var1 var2 var3 %} 上のコードは以下と等価です: {% if var1 %} {{ var1 }} {% elif var2 %} {{ var2 }} {% elif var3 %} {{ var3 ... }} {% endif %} また、渡された変数がすべて False の場合のフォールバック値として、リテラル文字列を使うこともできます: {% firstof var1 var2 var3 "fallback value" %} このタグは変数の値を自動エスケープします。自動エスケープを無効にするには下記のようにしま ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
Django 1.8 リリースノート 10941
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... odel() 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 %} sy ... ntax 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 {% load ... fro ... managed and rollback_unless_managed , also defined in django.db.transaction the TRANSACTIONS_MANAGED setting The cycle and firstof template tags auto-escape their arguments. The SEND_BROKEN_LINK_EMAILS setting is removed. django.middleware.doc.XViewMidd ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django の機能廃止のタイムライン 8433
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... t for calling a SQLCompiler directly as an alias for calling its quote_name_unless_alias method will be removed. cycle and firstof template tags will be removed from the future template tag library (used during the 1.6/1.7 deprecation period). django.co ... aged and rollback_unless_managed , also defined in django.db.transaction , the TRANSACTIONS_MANAGED setting. The cycle and firstof template tags will auto-escape their arguments. In 1.6 and 1.7, this behavior is provided by the version of these tags in ...
https://man.mtool.work/django/6.1/internals/deprecation.html
Django 1.10 リリースノート 7433
Django 1.10 リリースノート 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレードする際に注意が必要な 後方互換性が失われた変更点 について説明します。私たちは、非推奨の期間 ... rt 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. Support for the pr ...
https://man.mtool.work/django/6.1/releases/1.10.html
Django 1.9 リリースノート 7433
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... {% include %} when debug mode is off (helpful since {% include %} silences the exception and returns an empty string). The firstof template tag supports storing the output in a variable using 'as'. Context.update() can now be used as a context manager. ...
https://man.mtool.work/django/6.1/releases/1.9.html
索引 6925
索引 記号 | _ | 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 コマン ... late filter first() (django.db.models.query.QuerySet モジュール) FIRST_DAY_OF_WEEK setting first_name (models.User の属性) firstof template tag FirstValue (django.db.models.functions のクラス) FIXTURE_DIRS setting fixtures (TransactionTestCase の属性) f ...
https://man.mtool.work/django/6.1/genindex.html
PREV 1 NEXT