per page, with , order by , clip by
Results of 1 - 10 of about 54 for month (0.006 sec.)
クラスベースのジェネリックビュー: フラットインデックス — Django 6.1 ドキュメン... 12727
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのジェネリックビュー: フラットインデックス ¶ この索引は、クラスベースビューのリファレンス文書を、異なる観点から編成したものです。ビューご ... s() get_dated_queryset() get_paginator() head() http_method_not_allowed() paginate_queryset() render_to_response() setup() MonthArchiveView ¶ class MonthArchiveView ¶ 属性 (とオプションのアクセサ): allow_empty [ get_allow_empty() ] allow_future [ get_ ... pe context_object_name [ get_context_object_name() ] date_field [ get_date_field() ] extra_context http_method_names model month [ get_month() ] month_format [ get_month_format() ] ordering [ get_ordering() ] paginate_by [ get_paginate_by() ] paginate ... ) ] メソッド as_view() dispatch() get() get_context_data() get_date_list() get_dated_items() get_dated_queryset() get_next_month() get_paginator() get_previous_month() head() http_method_not_allowed() paginate_queryset() render_to_response() setup() W ...
https://man.mtool.work/django/6.1/ref/class-based-views/flattened-index.html
クラスベースのジェネリックビュー: フラットインデックス — Django 6.1 ドキュメン... 12653
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのジェネリックビュー: フラットインデックス ¶ この索引は、クラスベースビューのリファレンス文書を、異なる観点から編成したものです。ビューご ... s() get_dated_queryset() get_paginator() head() http_method_not_allowed() paginate_queryset() render_to_response() setup() MonthArchiveView ¶ class MonthArchiveView ¶ 属性 (とオプションのアクセサ): allow_empty [ get_allow_empty() ] allow_future [ get_ ... pe context_object_name [ get_context_object_name() ] date_field [ get_date_field() ] extra_context http_method_names model month [ get_month() ] month_format [ get_month_format() ] ordering [ get_ordering() ] paginate_by [ get_paginate_by() ] paginate ... ) ] メソッド as_view() dispatch() get() get_context_data() get_date_list() get_dated_items() get_dated_queryset() get_next_month() get_paginator() get_previous_month() head() http_method_not_allowed() paginate_queryset() render_to_response() setup() W ...
https://man.mtool.work/django/6.1/ref/class-based-views/flattened-index.html
ジェネリック日付ビュー — Django 6.1 ドキュメント 11332
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ジェネリック日付ビュー ¶ 日付ベースのジェネリックビュー ( django.views.generic.dates 内で提供されています) は、日付ベースのデータのために、ドリルダウ ... h1 > {% for obj in object_list %} < p > {{ obj.title }} - {{ obj.pub_date | date :"F j, Y" }} </ p > {% endfor %} </ div > MonthArchiveView ¶ class MonthArchiveView [ソース] ¶ 与えられた月の中で有効な全オブジェクトを表示する、月次のアーカイブページです ... ic.list.MultipleObjectTemplateResponseMixin django.views.generic.base.TemplateResponseMixin django.views.generic.dates.BaseMonthArchiveView django.views.generic.dates.YearMixin django.views.generic.dates.MonthMixin django.views.generic.dates.BaseDateL ... queryset に従って、与えられた月にオブジェクトが利用可能な全ての日を、 datetime.datetime オブジェクトとして昇順で表します。 month : 与えられた月を表す date オブジェクト。 next_month : allow_empty と allow_future に従って、次の月の最初の日を表す date オ ...
https://man.mtool.work/django/6.1/ref/class-based-views/generic-date-based.html
ジェネリック日付ビュー — Django 6.1 ドキュメント 11273
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ジェネリック日付ビュー ¶ 日付ベースのジェネリックビュー ( django.views.generic.dates 内で提供されています) は、日付ベースのデータのために、ドリルダウ ... h1 > {% for obj in object_list %} < p > {{ obj.title }} - {{ obj.pub_date | date :"F j, Y" }} </ p > {% endfor %} </ div > MonthArchiveView ¶ class MonthArchiveView [ソース] ¶ 与えられた月の中で有効な全オブジェクトを表示する、月次のアーカイブページです ... ic.list.MultipleObjectTemplateResponseMixin django.views.generic.base.TemplateResponseMixin django.views.generic.dates.BaseMonthArchiveView django.views.generic.dates.YearMixin django.views.generic.dates.MonthMixin django.views.generic.dates.BaseDateL ... queryset に従って、与えられた月にオブジェクトが利用可能な全ての日を、 datetime.datetime オブジェクトとして昇順で表します。 month : 与えられた月を表す date オブジェクト。 next_month : allow_empty と allow_future に従って、次の月の最初の日を表す date オ ...
https://man.mtool.work/django/6.1/ref/class-based-views/generic-date-based.html
日付ベースのミックスイン (mixin) — Django 6.1 ドキュメント 9449
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 日付ベースのミックスイン (mixin) ¶ 注釈 これらのミックスインに含まれるすべての日付フォーマット属性は strftime() フォーマット文字列を使用します。 now ... ジェクトを返します。この関数は allow_empty と allow_future の値によって None を返したり、 Http404 例外を発生させたりします。 MonthMixin ¶ class MonthMixin [ソース] ¶ 日付の「月」コンポーネントのパース情報を取得したり提供したりするために使用できるミックス ... イン。 メソッドと属性 month_format ¶ strftime() フォーマットは月をパースするときに使われます。デフォルトでは '%b' です。 month ¶ オプション 月を表す文 ... 字列。デフォルトでは None に設定されています。これは月が他の方法で決定されることを意味します。 get_month_format () [ソース] ¶ 月をパースする際に使用する strftime() フォーマットを返します。デフォルトでは month_format を返します。 ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-date-based.html
日付ベースのミックスイン (mixin) — Django 6.1 ドキュメント 9449
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 日付ベースのミックスイン (mixin) ¶ 注釈 これらのミックスインに含まれるすべての日付フォーマット属性は strftime() フォーマット文字列を使用します。 now ... ジェクトを返します。この関数は allow_empty と allow_future の値によって None を返したり、 Http404 例外を発生させたりします。 MonthMixin ¶ class MonthMixin [ソース] ¶ 日付の「月」コンポーネントのパース情報を取得したり提供したりするために使用できるミックス ... イン。 メソッドと属性 month_format ¶ strftime() フォーマットは月をパースするときに使われます。デフォルトでは '%b' です。 month ¶ オプション 月を表す文 ... 字列。デフォルトでは None に設定されています。これは月が他の方法で決定されることを意味します。 get_month_format () [ソース] ¶ 月をパースする際に使用する strftime() フォーマットを返します。デフォルトでは month_format を返します。 ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-date-based.html
条件式 — Django 6.1 ドキュメント 8306
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 条件式 ¶ Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expres ... エリを修正して、 Client が私たちとどれくらいの期間、関係があるかに基づいて割引を得るには、ルックアップが使用できます: >>> a_month_ago = date . today () - timedelta ( days = 30 ) >>> a_year_ago = date . today () - timedelta ( days = 365 ) >>> # Get the ... discount = Case ( ... When ( registered_on__lte = a_year_ago , then = Value ( "10%" )), ... When ( registered_on__lte = a_month_ago , then = Value ( "5%" )), ... default = Value ( "0%" ), ... ) ... ) . values_list ( "name" , "discount" ) <QuerySet [( ... ます。たとえば、1ヶ月以上前に登録されたゴールドクライアントと1年以上前に登録されたプラチナクライアントを検索する場合: >>> a_month_ago = date . today () - timedelta ( days = 30 ) >>> a_year_ago = date . today () - timedelta ( days = 365 ) >>> Client . o ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
データベース関数 — Django 6.1 ドキュメント 8188
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース関数 ¶ The classes documented below provide a way for users to use functions provided by the underlying database as annotations, aggrega ... :30:01.000321+00:00 が渡されると、組み込みの lookup_name は下記の値を返します: "year": 2015 "iso_year": 2015 "quarter": 2 "month": 6 "day": 15 "week": 25 "week_day": 2 "iso_week_day": 1 "hour": 23 "minute": 30 "second": 1 Australia/Melbourne のような異 ... ession , tzinfo = None , ** extra ) [ソース] ¶ ISO-8601 の週番号を持つ年を返します。 lookup_name = 'iso_year' class ExtractMonth ( expression , tzinfo = None , ** extra ) [ソース] ¶ lookup_name = 'month' class ExtractDay ( expression , tzinfo = None , ... ができます: >>> from datetime import UTC , datetime >>> from django.db.models.functions import ( ... ExtractDay , ... ExtractMonth , ... ExtractQuarter , ... ExtractWeek , ... ExtractIsoWeekDay , ... ExtractWeekDay , ... ExtractIsoYear , ... ExtractYear ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
データベース関数 — Django 6.1 ドキュメント 8188
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース関数 ¶ The classes documented below provide a way for users to use functions provided by the underlying database as annotations, aggrega ... :30:01.000321+00:00 が渡されると、組み込みの lookup_name は下記の値を返します: "year": 2015 "iso_year": 2015 "quarter": 2 "month": 6 "day": 15 "week": 25 "week_day": 2 "iso_week_day": 1 "hour": 23 "minute": 30 "second": 1 Australia/Melbourne のような異 ... ession , tzinfo = None , ** extra ) [ソース] ¶ ISO-8601 の週番号を持つ年を返します。 lookup_name = 'iso_year' class ExtractMonth ( expression , tzinfo = None , ** extra ) [ソース] ¶ lookup_name = 'month' class ExtractDay ( expression , tzinfo = None , ... ができます: >>> from datetime import UTC , datetime >>> from django.db.models.functions import ( ... ExtractDay , ... ExtractMonth , ... ExtractQuarter , ... ExtractWeek , ... ExtractIsoWeekDay , ... ExtractWeekDay , ... ExtractIsoYear , ... ExtractYear ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
条件式 — Django 6.1 ドキュメント 8054
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 条件式 ¶ Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expres ... エリを修正して、 Client が私たちとどれくらいの期間、関係があるかに基づいて割引を得るには、ルックアップが使用できます: >>> a_month_ago = date . today () - timedelta ( days = 30 ) >>> a_year_ago = date . today () - timedelta ( days = 365 ) >>> # Get the ... discount = Case ( ... When ( registered_on__lte = a_year_ago , then = Value ( "10%" )), ... When ( registered_on__lte = a_month_ago , then = Value ( "5%" )), ... default = Value ( "0%" ), ... ) ... ) . values_list ( "name" , "discount" ) <QuerySet [( ... ます。たとえば、1ヶ月以上前に登録されたゴールドクライアントと1年以上前に登録されたプラチナクライアントを検索する場合: >>> a_month_ago = date . today () - timedelta ( days = 30 ) >>> a_year_ago = date . today () - timedelta ( days = 365 ) >>> Client . o ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
PREV 1 2 3 4 5 6 NEXT