per page, with , order by , clip by
Results of 1 - 10 of about 16 for span (0.008 sec.)
ページ分割 (Pagination) — Django 6.1 ドキュメント 12164
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ページ分割 (Pagination) ¶ Django は、ページ分割 (ページネーション) されたデータを管理するための高レベルと低レベルの方法を提供しています。つまり、"前 ... tact" is a Contact model object. #} {{ contact.full_name | upper }} < br > ... {% endfor %} < div class = "pagination" > < span class = "step-links" > {% if page_obj.has_previous %} < a href = "?page=1" > &laquo; first </ a > < a href = "?page= {{ pa ... ge_obj.previous_page_number }} " > previous </ a > {% endif %} < span class = "current" > Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }} . </ span > {% if page_obj.has_next % ... age_number }} " > next </ a > < a href = "?page= {{ page_obj.paginator.num_pages }} " > last &raquo; </ a > {% endif %} </ span > </ div > Paginator をビュー関数で使用する ¶ 以下は、queryset をページ分割するビュー関数内の Paginator の一例です。 from ...
https://man.mtool.work/django/6.1/topics/pagination.html
ページ分割 (Pagination) — Django 6.1 ドキュメント 10813
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ページ分割 (Pagination) ¶ Django は、ページ分割 (ページネーション) されたデータを管理するための高レベルと低レベルの方法を提供しています。つまり、"前 ... tact" is a Contact model object. #} {{ contact.full_name | upper }} < br > ... {% endfor %} < div class = "pagination" > < span class = "step-links" > {% if page_obj.has_previous %} < a href = "?page=1" > &laquo; first </ a > < a href = "?page= {{ pa ... ge_obj.previous_page_number }} " > previous </ a > {% endif %} < span class = "current" > Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }} . </ span > {% if page_obj.has_next % ... age_number }} " > next </ a > < a href = "?page= {{ page_obj.paginator.num_pages }} " > last &raquo; </ a > {% endif %} </ span > </ div > Paginator をビュー関数で使用する ¶ 以下は、queryset をページ分割するビュー関数内の Paginator の一例です。 from ...
https://man.mtool.work/django/6.1/topics/pagination.html
ウィジェット — Django 6.1 ドキュメント 10813
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ウィジェット ¶ ウィジェットは、Django が HTML の input 要素の表現方法です。ウィジェットは、HTML のレンダリングをコントロールして、ウィジェットに合致 ... l }} </ legend > {% for radio in myform.beatles %} < label for = " {{ radio.id_for_label }} " > {{ radio.choice_label }} < span class = "radio" > {{ radio.tag }} </ span > </ label > {% endfor %} </ fieldset > ...次のHTMLを生成します: < fieldset > < ... legend > Radio buttons </ legend > < label for = "id_beatles_0" > John < span class = "radio" >< input id = "id_beatles_0" name = "beatles" type = "radio" value = "john" required ></ span > </ label > ... < label for = "id_beatles_1" > Paul < span class = "radio" >< input id = "id_beatles_1" name = "beatles" type = "radio" value = "paul" required ></ span > </ label > ...
https://man.mtool.work/django/6.1/ref/forms/widgets.html
ウィジェット — Django 6.1 ドキュメント 10622
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ウィジェット ¶ ウィジェットは、Django が HTML の input 要素の表現方法です。ウィジェットは、HTML のレンダリングをコントロールして、ウィジェットに合致 ... l }} </ legend > {% for radio in myform.beatles %} < label for = " {{ radio.id_for_label }} " > {{ radio.choice_label }} < span class = "radio" > {{ radio.tag }} </ span > </ label > {% endfor %} </ fieldset > ...次のHTMLを生成します: < fieldset > < ... legend > Radio buttons </ legend > < label for = "id_beatles_0" > John < span class = "radio" >< input id = "id_beatles_0" name = "beatles" type = "radio" value = "john" required ></ span > </ label > ... < label for = "id_beatles_1" > Paul < span class = "radio" >< input id = "id_beatles_1" name = "beatles" type = "radio" value = "paul" required ></ span > </ label > ...
https://man.mtool.work/django/6.1/ref/forms/widgets.html
全文検索 — Django 6.1 ドキュメント 10050
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 全文検索 ¶ django.contrib.postgres.search モジュールのデータベース関数は PostgreSQL の 全文検索エンジン を利用しやすくしています。 このドキュメントの ... ) >>> entry = Entry . objects . annotate ( ... headline = SearchHeadline ( ... "body_text" , ... query , ... start_sel = "<span>" , ... stop_sel = "</span>" , ... ), ... ) . get () >>> print ( entry . headline ) Sandwich with <span>tomato</span> and ... <span>red</span> cheese. config パラメータの説明については、 検索設定を変更する を参照してください。 検索設定を変更する ¶ Search ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/search.html
全文検索 — Django 6.1 ドキュメント 10050
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 全文検索 ¶ django.contrib.postgres.search モジュールのデータベース関数は PostgreSQL の 全文検索エンジン を利用しやすくしています。 このドキュメントの ... ) >>> entry = Entry . objects . annotate ( ... headline = SearchHeadline ( ... "body_text" , ... query , ... start_sel = "<span>" , ... stop_sel = "</span>" , ... ), ... ) . get () >>> print ( entry . headline ) Sandwich with <span>tomato</span> and ... <span>red</span> cheese. config パラメータの説明については、 検索設定を変更する を参照してください。 検索設定を変更する ¶ Search ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/search.html
クラスベースのビューでミックスイン (mixin) を使用する — Django 6.1 ドキュメント 8317
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでミックスイン (mixin) を使用する ¶ 注意 This is an advanced topic. A working knowledge of Django's class-based views is advised ... h2 > < ol > {% for book in page_obj %} < li > {{ book.title }} </ li > {% endfor %} </ ol > < div class = "pagination" > < span class = "step-links" > {% if page_obj.has_previous %} < a href = "?page= {{ page_obj.previous_page_number }} " > previous ... </ a > {% endif %} < span class = "current" > Page {{ page_obj.number }} of {{ paginator.num_pages }} . </ span > {% if page_obj.has_next %} < a hre ... f = "?page= {{ page_obj.next_page_number }} " > next </ a > {% endif %} </ span > </ div > {% endblock %} これより複雑なことはやめておきましょう ¶ 一般的に必要な機能は、 TemplateResponseMixin や SingleO ...
https://man.mtool.work/django/6.1/topics/class-based-views/mixins.html
クラスベースのビューでミックスイン (mixin) を使用する — Django 6.1 ドキュメント 8317
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでミックスイン (mixin) を使用する ¶ 注意 This is an advanced topic. A working knowledge of Django's class-based views is advised ... h2 > < ol > {% for book in page_obj %} < li > {{ book.title }} </ li > {% endfor %} </ ol > < div class = "pagination" > < span class = "step-links" > {% if page_obj.has_previous %} < a href = "?page= {{ page_obj.previous_page_number }} " > previous ... </ a > {% endif %} < span class = "current" > Page {{ page_obj.number }} of {{ paginator.num_pages }} . </ span > {% if page_obj.has_next %} < a hre ... f = "?page= {{ page_obj.next_page_number }} " > next </ a > {% endif %} </ span > </ div > {% endblock %} これより複雑なことはやめておきましょう ¶ 一般的に必要な機能は、 TemplateResponseMixin や SingleO ...
https://man.mtool.work/django/6.1/topics/class-based-views/mixins.html
Django の admin サイト — Django 6.1 ドキュメント 7555
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の admin サイト ¶ Django のパワフルな特徴の1つは、自動的に生成される admin インタフェースです。あなたのモデルクラスからメタデータを読み取り、 ... 50 ) color_code = models . CharField ( max_length = 6 ) @admin . display def colored_name ( self ): return format_html ( '<span style="color: # {} ;"> {} {} </span>' , self . color_code , self . first_name , self . last_name , ) class PersonAdmin ( a ... ld ( max_length = 6 ) @admin . display ( ordering = "first_name" ) def colored_first_name ( self ): return format_html ( '<span style="color: # {} ;"> {} </span>' , self . color_code , self . first_name , ) class PersonAdmin ( admin . ModelAdmin ): l ... rmat_html_join ( mark_safe ( "<br>" ), " {} " , (( line ,) for line in instance . get_full_address ()), ) or mark_safe ( "<span class='errors'>I can't determine this address.</span>" ) ModelAdmin. save_as ¶ admin のチェンジーフォームで "新規に保存" 機 ...
https://man.mtool.work/django/6.1/ref/contrib/admin/
Django の admin サイト — Django 6.1 ドキュメント 7555
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の admin サイト ¶ Django のパワフルな特徴の1つは、自動的に生成される admin インタフェースです。あなたのモデルクラスからメタデータを読み取り、 ... 50 ) color_code = models . CharField ( max_length = 6 ) @admin . display def colored_name ( self ): return format_html ( '<span style="color: # {} ;"> {} {} </span>' , self . color_code , self . first_name , self . last_name , ) class PersonAdmin ( a ... ld ( max_length = 6 ) @admin . display ( ordering = "first_name" ) def colored_first_name ( self ): return format_html ( '<span style="color: # {} ;"> {} </span>' , self . color_code , self . first_name , ) class PersonAdmin ( admin . ModelAdmin ): l ... rmat_html_join ( mark_safe ( "<br>" ), " {} " , (( line ,) for line in instance . get_full_address ()), ) or mark_safe ( "<span class='errors'>I can't determine this address.</span>" ) ModelAdmin. save_as ¶ admin のチェンジーフォームで "新規に保存" 機 ...
https://man.mtool.work/django/6.1/ref/contrib/admin/
PREV 1 2 NEXT