per page, with , order by , clip by
Results of 1 - 10 of about 32 for fragment (0.007 sec.)
django.urls ユーティリティ関数 — Django 6.1 ドキュメント 12726
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django.urls ユーティリティ関数 ¶ reverse() ¶ reverse() 関数は指定したビューと任意のパラメータに対して、 url タグと同様に、絶対パス参照を返すために使 ... 用します。 reverse ( viewname , urlconf = None , args = None , kwargs = None , current_app = None , * , query = None , fragment = None ) [ソース] ¶ viewname には URL パターン名 またはURLconf で使用される呼び出し可能なビューオブジェクトを指定できます。 ... ) と互換性のある任意の値を受け付けます。エンコードされたクエリ文字列は先頭に ? を付加して、解決された URL に追加されます。 fragment キーワード引数は、返される URL に付加するフラグメント識別子を指定します(つまり、パスとクエリ文字列の後ろに、先頭に # を付 ... れます)。 例: >>> from django.urls import reverse >>> reverse ( "admin:index" , query = { "q" : "biscuits" , "page" : 2 }, fragment = "results" ) '/admin/?q=biscuits&page=2#results' >>> reverse ( "admin:index" , query = [( "color" , "blue" ), ( "color" , ...
https://man.mtool.work/django/6.1/ref/urlresolvers.html
django.urls ユーティリティ関数 — Django 6.1 ドキュメント 11437
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django.urls ユーティリティ関数 ¶ reverse() ¶ reverse() 関数は指定したビューと任意のパラメータに対して、 url タグと同様に、絶対パス参照を返すために使 ... 用します。 reverse ( viewname , urlconf = None , args = None , kwargs = None , current_app = None , * , query = None , fragment = None ) [ソース] ¶ viewname には URL パターン名 またはURLconf で使用される呼び出し可能なビューオブジェクトを指定できます。 ... ) と互換性のある任意の値を受け付けます。エンコードされたクエリ文字列は先頭に ? を付加して、解決された URL に追加されます。 fragment キーワード引数は、返される URL に付加するフラグメント識別子を指定します(つまり、パスとクエリ文字列の後ろに、先頭に # を付 ... れます)。 例: >>> from django.urls import reverse >>> reverse ( "admin:index" , query = { "q" : "biscuits" , "page" : 2 }, fragment = "results" ) '/admin/?q=biscuits&page=2#results' >>> reverse ( "admin:index" , query = [( "color" , "blue" ), ( "color" , ...
https://man.mtool.work/django/6.1/ref/urlresolvers.html
Django のキャッシュフレームワーク — Django 6.1 ドキュメント 11437
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django のキャッシュフレームワーク ¶ 動的なウェブサイトの基本的なトレードオフは、ええと、それが動的であるということです。ユーザーがページをリクエスト ... load cache %} {% cache 500 sidebar %} .. sidebar .. {% endcache %} Sometimes you might want to cache multiple copies of a fragment depending on some dynamic data that appears inside the fragment. For example, you might want a separate cached copy of the ... nts, which may be variables with or without filters, to the {% cache %} template tag that will uniquely identify the cache fragment when those values are converted to strings: {% load cache %} {% cache 500 sidebar request.user.username %} .. sidebar for ... e argument values are converted to strings when creating the cache key, consider uniqueness carefully to avoid serving one fragment for two distinct values that share a string representation, such as None and "None" . Avoid supplying a model instance, si ...
https://man.mtool.work/django/6.1/topics/cache.html
Django のキャッシュフレームワーク — Django 6.1 ドキュメント 11437
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django のキャッシュフレームワーク ¶ 動的なウェブサイトの基本的なトレードオフは、ええと、それが動的であるということです。ユーザーがページをリクエスト ... load cache %} {% cache 500 sidebar %} .. sidebar .. {% endcache %} Sometimes you might want to cache multiple copies of a fragment depending on some dynamic data that appears inside the fragment. For example, you might want a separate cached copy of the ... nts, which may be variables with or without filters, to the {% cache %} template tag that will uniquely identify the cache fragment when those values are converted to strings: {% load cache %} {% cache 500 sidebar request.user.username %} .. sidebar for ... e argument values are converted to strings when creating the cache key, consider uniqueness carefully to avoid serving one fragment for two distinct values that share a string representation, such as None and "None" . Avoid supplying a model instance, si ...
https://man.mtool.work/django/6.1/topics/cache.html
Django テンプレート言語 — Django 6.1 ドキュメント 9633
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django テンプレート言語 ¶ このドキュメントはDjangoテンプレートシステムの文法を説明しています。もしあなたがもっと技術者的な観点でどう動かすかやどう拡 ... ートの親が判断できなくなってしまうのです。 Template partials ¶ New in Django 6.0. Template partials define reusable template fragments within a template file. They are self-contained components that can be rendered multiple times within the same template, ... ed in the {% endpartialdef %} closing tag: {% partialdef user-info %} {# ... #} {% endpartialdef user-info %} The template fragment can be rendered using the partial tag: {% partial user-info %} Fragment reuse ¶ A template fragment can be reused multiple ... l content is rendered each time the named partial is used, with the current template context. Inline partials ¶ A template fragment can be defined and rendered in-place using the inline argument. This defines the partial for later reuse while also render ...
https://man.mtool.work/django/6.1/ref/templates/language.html
Django テンプレート言語 — Django 6.1 ドキュメント 9633
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django テンプレート言語 ¶ このドキュメントはDjangoテンプレートシステムの文法を説明しています。もしあなたがもっと技術者的な観点でどう動かすかやどう拡 ... ートの親が判断できなくなってしまうのです。 Template partials ¶ New in Django 6.0. Template partials define reusable template fragments within a template file. They are self-contained components that can be rendered multiple times within the same template, ... ed in the {% endpartialdef %} closing tag: {% partialdef user-info %} {# ... #} {% endpartialdef user-info %} The template fragment can be rendered using the partial tag: {% partial user-info %} Fragment reuse ¶ A template fragment can be reused multiple ... l content is rendered each time the named partial is used, with the current template context. Inline partials ¶ A template fragment can be defined and rendered in-place using the inline argument. This defines the partial for later reuse while also render ...
https://man.mtool.work/django/6.1/ref/templates/language.html
Django 1.10 リリースノート — Django 6.1 ドキュメント 8344
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.10 リリースノート ¶ 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレ ... ue with STATIC_ROOT . The new approach encodes the URL, which could be backwards-incompatible in cases such as including a fragment in a path, e.g. {% static 'img.svg#fragment' %} , since the # is encoded as %23 . To adapt, move the fragment outside the ... template tag: {% static 'img.svg' %}#fragment . When USE_L10N is True , localization is now applied for the date and time filters when no format string is specified. Th ...
https://man.mtool.work/django/6.1/releases/1.10.html
Django 1.10 リリースノート — Django 6.1 ドキュメント 8344
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.10 リリースノート ¶ 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレ ... ue with STATIC_ROOT . The new approach encodes the URL, which could be backwards-incompatible in cases such as including a fragment in a path, e.g. {% static 'img.svg#fragment' %} , since the # is encoded as %23 . To adapt, move the fragment outside the ... template tag: {% static 'img.svg' %}#fragment . When USE_L10N is True , localization is now applied for the date and time filters when no format string is specified. Th ...
https://man.mtool.work/django/6.1/releases/1.10.html
テンプレート — Django 6.1 ドキュメント 8087
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テンプレート ¶ Django はウェブフレームワークなので、HTML を動的に生成する便利な手段が必要でした。最も一般的なアプローチは、テンプレートに頼ることです ... い場合は、 using 引数にそのエンジンの NAME を渡します。 Partial loading: When using the DjangoTemplates backend, a specific fragment from a template can be loaded by name. This fragment should have been previously defined using the partialdef template tag ... mplate.loader import get_template # Load an entire template. template = get_template ( "template.html" ) # Load a specific fragment from a template. partial = get_template ( "template.html#partial_name" ) When loading a partial, the returned object behav ... late but contains only the partial's content. See Template partials for more information about defining and using template fragments. Changed in Django 6.0: Support for loading template partials when using the DjangoTemplates backend was added. select_te ...
https://man.mtool.work/django/6.1/topics/templates.html
組み込みテンプレートタグとフィルタ — Django 6.1 ドキュメント 7845
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 組み込みテンプレートタグとフィルタ ¶ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーショ ... } {% blocktranslate %} Copyright {{ current_year }}{% endblocktranslate %} partial ¶ New in Django 6.0. Renders a template fragment that was defined with partialdef , inserting the matching partial at this location. 使い方: {% partial partial_name %} The ... partial_name argument is the name of the template fragment to render. In the following example, a partial named button is defined and then rendered three times: {% partialdef button ... {% partial button %} {% partial button %} {% partial button %} partialdef ¶ New in Django 6.0. Defines a reusable template fragment that can be rendered multiple times within the same template or accessed directly via template loading or inclusion . 使い ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
PREV 1 2 3 4 NEXT