per page, with , order by , clip by
Results of 1 - 10 of about 52 for href (0.010 sec.)
フォームアセット (Media クラス) — Django 6.1 ドキュメント 14113
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォームアセット ( Media クラス) ¶ 魅力的で使いやすいウェブのフォームを作るには、HTML だけでは不十分です。CSS スタイルシートも必要です。さらに豪華な ... et インスタンスのアセットリストは、このプロパティから取得できます: >>> w = CalendarWidget () >>> print ( w . media ) <link href="https://static.example.com/pretty.css" media="all" rel="stylesheet"> <script src="https://static.example.com/animations.j ... " : [ "lo_res.css" ], "print" : [ "newspaper.css" ], } 上記のCSS定義をレンダリングすると、次のようなHTMLになります: < link href = "https://static.example.com/pretty.css" media = "screen" rel = "stylesheet" > < link href = "https://static.example.com/ ... lo_res.css" media = "tv,projector" rel = "stylesheet" > < link href = "https://static.example.com/newspaper.css" media = "print" rel = "stylesheet" > Stylesheet objects ¶ New in Django 6.1. ...
https://man.mtool.work/django/6.1/topics/forms/media.html
フォームアセット (Media クラス) — Django 6.1 ドキュメント 13994
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォームアセット ( Media クラス) ¶ 魅力的で使いやすいウェブのフォームを作るには、HTML だけでは不十分です。CSS スタイルシートも必要です。さらに豪華な ... et インスタンスのアセットリストは、このプロパティから取得できます: >>> w = CalendarWidget () >>> print ( w . media ) <link href="https://static.example.com/pretty.css" media="all" rel="stylesheet"> <script src="https://static.example.com/animations.j ... " : [ "lo_res.css" ], "print" : [ "newspaper.css" ], } 上記のCSS定義をレンダリングすると、次のようなHTMLになります: < link href = "https://static.example.com/pretty.css" media = "screen" rel = "stylesheet" > < link href = "https://static.example.com/ ... lo_res.css" media = "tv,projector" rel = "stylesheet" > < link href = "https://static.example.com/newspaper.css" media = "print" rel = "stylesheet" > Stylesheet objects ¶ New in Django 6.1. ...
https://man.mtool.work/django/6.1/topics/forms/media.html
ページ分割 (Pagination) — Django 6.1 ドキュメント 9917
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ページ分割 (Pagination) ¶ Django は、ページ分割 (ページネーション) されたデータを管理するための高レベルと低レベルの方法を提供しています。つまり、"前 ... r }} < br > ... {% endfor %} < div class = "pagination" > < span class = "step-links" > {% if page_obj.has_previous %} < a href = "?page=1" > &laquo; first </ a > < a href = "?page= {{ page_obj.previous_page_number }} " > previous </ a > {% endif %} ... = "current" > Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }} . </ span > {% if page_obj.has_next %} < a href = "?page= {{ page_obj.next_page_number }} " > next </ a > < a href = "?page= {{ page_obj.paginator.num_pages }} " > last & ... ワード Paginator 分割 number paginator list import count next previous last ListView Contact contact pages range index span href QuerySet objects Traceback most recent call EmptyPage クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/topics/pagination.html
ページ分割 (Pagination) — Django 6.1 ドキュメント 9110
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ページ分割 (Pagination) ¶ Django は、ページ分割 (ページネーション) されたデータを管理するための高レベルと低レベルの方法を提供しています。つまり、"前 ... r }} < br > ... {% endfor %} < div class = "pagination" > < span class = "step-links" > {% if page_obj.has_previous %} < a href = "?page=1" > &laquo; first </ a > < a href = "?page= {{ page_obj.previous_page_number }} " > previous </ a > {% endif %} ... = "current" > Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }} . </ span > {% if page_obj.has_next %} < a href = "?page= {{ page_obj.next_page_number }} " > next </ a > < a href = "?page= {{ page_obj.paginator.num_pages }} " > last & ...
https://man.mtool.work/django/6.1/topics/pagination.html
Django テンプレート言語 — Django 6.1 ドキュメント 8543
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django テンプレート言語 ¶ このドキュメントはDjangoテンプレートシステムの文法を説明しています。もしあなたがもっと技術者的な観点でどう動かすかやどう拡 ... ion.title }}{% endblock %} {% block content %} < h1 > {{ section.title }} </ h1 > {% for story in story_list %} < h2 > < a href = " {{ story.get_absolute_url }} " > {{ story.headline | upper }} </ a > </ h2 > < p > {{ story.tease | truncatewords :"10 ... テンプレートの継承について、まず例を見てみましょう: <!DOCTYPE html> < html lang = "en" > < head > < link rel = "stylesheet" href = "style.css" > < title > {% block title %} My amazing site {% endblock %} </ title > </ head > < body > < div id = "sideb ... ar" > {% block sidebar %} < ul > < li >< a href = "/" > Home </ a ></ li > < li >< a href = "/blog/" > Blog </ a ></ li > </ ul > {% endblock %} </ div > < div id = "cont ...
https://man.mtool.work/django/6.1/ref/templates/language.html
組み込みテンプレートタグとフィルタ — Django 6.1 ドキュメント 8438
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 組み込みテンプレートタグとフィルタ ¶ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーショ ... d Content Security Policy: < script src = "/path/to/script.js" {% csp_nonce_attr %} ></ script > < link rel = "stylesheet" href = "/path/to/style.css" {% csp_nonce_attr %} > When called with a Media object as the argument, renders its assets with the ... for {{ year }} </ h1 > {% for date in days %} {% ifchanged %} < h3 > {{ date | date :"F" }} </ h3 > {% endifchanged %} < a href = " {{ date | date :"M/d" | lower }} /" > {{ date | date :"j" }} </ a > {% endfor %} タグに 1 個以上の変数が与えられている ... aceless ¶ ブロック内の HTML タグ間にある空白文字を除去します。タブ文字や改行も含みます。 使用例: {% spaceless %} < p > < a href = "foo/" > Foo </ a > </ p > {% endspaceless %} 上記の例は以下のようなHTMLを返します: < p >< a href = "foo/" > Foo </ a >< ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
組み込みテンプレートタグとフィルタ — Django 6.1 ドキュメント 8438
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 組み込みテンプレートタグとフィルタ ¶ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーショ ... d Content Security Policy: < script src = "/path/to/script.js" {% csp_nonce_attr %} ></ script > < link rel = "stylesheet" href = "/path/to/style.css" {% csp_nonce_attr %} > When called with a Media object as the argument, renders its assets with the ... for {{ year }} </ h1 > {% for date in days %} {% ifchanged %} < h3 > {{ date | date :"F" }} </ h3 > {% endifchanged %} < a href = " {{ date | date :"M/d" | lower }} /" > {{ date | date :"j" }} </ a > {% endfor %} タグに 1 個以上の変数が与えられている ... aceless ¶ ブロック内の HTML タグ間にある空白文字を除去します。タブ文字や改行も含みます。 使用例: {% spaceless %} < p > < a href = "foo/" > Foo </ a > </ p > {% endspaceless %} 上記の例は以下のようなHTMLを返します: < p >< a href = "foo/" > Foo </ a >< ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
Django テンプレート言語 — Django 6.1 ドキュメント 8214
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django テンプレート言語 ¶ このドキュメントはDjangoテンプレートシステムの文法を説明しています。もしあなたがもっと技術者的な観点でどう動かすかやどう拡 ... ion.title }}{% endblock %} {% block content %} < h1 > {{ section.title }} </ h1 > {% for story in story_list %} < h2 > < a href = " {{ story.get_absolute_url }} " > {{ story.headline | upper }} </ a > </ h2 > < p > {{ story.tease | truncatewords :"10 ... テンプレートの継承について、まず例を見てみましょう: <!DOCTYPE html> < html lang = "en" > < head > < link rel = "stylesheet" href = "style.css" > < title > {% block title %} My amazing site {% endblock %} </ title > </ head > < body > < div id = "sideb ... ar" > {% block sidebar %} < ul > < li >< a href = "/" > Home </ a ></ li > < li >< a href = "/blog/" > Blog </ a ></ li > </ ul > {% endblock %} </ div > < div id = "cont ...
https://man.mtool.work/django/6.1/ref/templates/language.html
はじめての Django アプリ作成、その 3 — Django 6.1 ドキュメント 8094
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 3 ¶ このチュートリアルは チュートリアルその 2 の続きです。ここでは、引続き Web 投票アプリケーションの開発を例にし ... lls/templates/polls/index.html ¶ {% if latest_question_list %} < ul > {% for question in latest_question_list %} < li >< a href = "/polls/ {{ question.id }} /" > {{ question.question_text }} </ a ></ li > {% endfor %} </ ul > {% else %} < p > No poll ... ¶ polls/index.html テンプレートで質問へのリンクを書いたとき、リンクの一部は次のようにハードコードされていました: < li >< a href = "/polls/ {{ question.id }} /" > {{ question.question_text }} </ a ></ li > このハードコードされた密結合のアプローチの問題 ... 、テンプレートタグの {% url %} を使うことで URL 設定で定義されている特定の URL パスへの依存をなくすことができます: < li >< a href = " {% url 'detail' question.id %} " > {{ question.question_text }} </ a ></ li > これが機能するのは、 polls.urls モジュー ...
https://man.mtool.work/django/6.1/intro/tutorial03.html
はじめての Django アプリ作成、その 3 — Django 6.1 ドキュメント 8094
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 3 ¶ このチュートリアルは チュートリアルその 2 の続きです。ここでは、引続き Web 投票アプリケーションの開発を例にし ... lls/templates/polls/index.html ¶ {% if latest_question_list %} < ul > {% for question in latest_question_list %} < li >< a href = "/polls/ {{ question.id }} /" > {{ question.question_text }} </ a ></ li > {% endfor %} </ ul > {% else %} < p > No poll ... ¶ polls/index.html テンプレートで質問へのリンクを書いたとき、リンクの一部は次のようにハードコードされていました: < li >< a href = "/polls/ {{ question.id }} /" > {{ question.question_text }} </ a ></ li > このハードコードされた密結合のアプローチの問題 ... 、テンプレートタグの {% url %} を使うことで URL 設定で定義されている特定の URL パスへの依存をなくすことができます: < li >< a href = " {% url 'detail' question.id %} " > {{ question.question_text }} </ a ></ li > これが機能するのは、 polls.urls モジュー ...
https://man.mtool.work/django/6.1/intro/tutorial03.html
PREV 1 2 3 4 5 6 NEXT