per page, with , order by , clip by
Results of 1 - 10 of about 92 for year (0.008 sec.)
クラスベースのジェネリックビュー: フラットインデックス — Django 6.1 ドキュメン... 11820
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() YearArchiveView ¶ class YearArchiveView ¶ 属性 (とオプションのアクセサ): allow_empty [ get_allow_empty() ] allow_future [ get_a ... et() ] response_class [ render_to_response() ] template_engine template_name [ get_template_names() ] template_name_suffix year [ get_year() ] year_format [ get_year_format() ] メソッド as_view() dispatch() get() get_context_data() get_date_list() ge ... et() ] response_class [ render_to_response() ] template_engine template_name [ get_template_names() ] template_name_suffix year [ get_year() ] year_format [ get_year_format() ] メソッド as_view() dispatch() get() get_context_data() get_date_list() ge ...
https://man.mtool.work/django/6.1/ref/class-based-views/flattened-index.html
クラスベースのジェネリックビュー: フラットインデックス — Django 6.1 ドキュメン... 11528
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() YearArchiveView ¶ class YearArchiveView ¶ 属性 (とオプションのアクセサ): allow_empty [ get_allow_empty() ] allow_future [ get_a ... et() ] response_class [ render_to_response() ] template_engine template_name [ get_template_names() ] template_name_suffix year [ get_year() ] year_format [ get_year_format() ] メソッド as_view() dispatch() get() get_context_data() get_date_list() ge ... et() ] response_class [ render_to_response() ] template_engine template_name [ get_template_names() ] template_name_suffix year [ get_year() ] year_format [ get_year_format() ] メソッド as_view() dispatch() get() get_context_data() get_date_list() ge ...
https://man.mtool.work/django/6.1/ref/class-based-views/flattened-index.html
Django の概要 — Django 6.1 ドキュメント 9697
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の概要 ¶ Django は変転の激しいニュースルーム環境で開発された経緯から、よくある Web 開発タスクを迅速かつ簡単化するように設計されています。ここ ... 以下のようになります: news/urls.py ¶ from django.urls import path from . import views urlpatterns = [ path ( "articles/<int:year>/" , views . year_archive ), path ( "articles/<int:year>/<int:month>/" , views . month_archive ), path ( "articles/<int:ye ... 。 例えば、ユーザが "/articles/2005/05/39323/" という URL をリクエストすると、 Django は news.views.article_detail(request, year=2005, month=5, pk=39323) のような関数呼び出しを行います。 ビューの自作 ¶ 各ビューには二つの役割があります: 一つはリクエスト ... 従ってデータベースからデータを取り出し、テンプレートをロードして、取り出したデータでテンプレートをレンダリングします。 上の year_archive のビューを例に示しましょう: news/views.py ¶ from django.shortcuts import render from .models import Article def ye ...
https://man.mtool.work/django/6.1/intro/overview.html
Django の概要 — Django 6.1 ドキュメント 9697
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の概要 ¶ Django は変転の激しいニュースルーム環境で開発された経緯から、よくある Web 開発タスクを迅速かつ簡単化するように設計されています。ここ ... 以下のようになります: news/urls.py ¶ from django.urls import path from . import views urlpatterns = [ path ( "articles/<int:year>/" , views . year_archive ), path ( "articles/<int:year>/<int:month>/" , views . month_archive ), path ( "articles/<int:ye ... 。 例えば、ユーザが "/articles/2005/05/39323/" という URL をリクエストすると、 Django は news.views.article_detail(request, year=2005, month=5, pk=39323) のような関数呼び出しを行います。 ビューの自作 ¶ 各ビューには二つの役割があります: 一つはリクエスト ... 従ってデータベースからデータを取り出し、テンプレートをロードして、取り出したデータでテンプレートをレンダリングします。 上の year_archive のビューを例に示しましょう: news/views.py ¶ from django.shortcuts import render from .models import Article def ye ...
https://man.mtool.work/django/6.1/intro/overview.html
URL ディスパッチャ — Django 6.1 ドキュメント 9631
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » URL ディスパッチャ ¶ すっきりした、簡潔で明解な URL スキームは、高品質な Web アプリケーションでは重要な要素です。 Django では、フレームワークの制限な ... port path from . import views urlpatterns = [ path ( "articles/2003/" , views . special_case_2003 ), path ( "articles/<int:year>/" , views . year_archive ), path ( "articles/<int:year>/<int:month>/" , views . month_archive ), path ( "articles/<int:ye ... の例: articles/2005/03/ へのリクエストはリストの 3 番目のエントリにマッチします。Django は関数 views.month_archive(request, year=2005, month=3) を呼び出します。 /articles/2003/ はリストの最初のパターンにマッチしますが、2番目のパターンにはマッチしません ... せん。 /articles/2003/03/building-a-django-site/ は最後のパターンにマッチします。Django は関数 views.article_detail(request, year=2003, month=3, slug="building-a-django-site") を呼び出します。 パス コンバータ ¶ デフォルトでは、以下のパスコンバータが使用 ...
https://man.mtool.work/django/6.1/topics/http/urls.html
URL ディスパッチャ — Django 6.1 ドキュメント 9631
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » URL ディスパッチャ ¶ すっきりした、簡潔で明解な URL スキームは、高品質な Web アプリケーションでは重要な要素です。 Django では、フレームワークの制限な ... port path from . import views urlpatterns = [ path ( "articles/2003/" , views . special_case_2003 ), path ( "articles/<int:year>/" , views . year_archive ), path ( "articles/<int:year>/<int:month>/" , views . month_archive ), path ( "articles/<int:ye ... の例: articles/2005/03/ へのリクエストはリストの 3 番目のエントリにマッチします。Django は関数 views.month_archive(request, year=2005, month=3) を呼び出します。 /articles/2003/ はリストの最初のパターンにマッチしますが、2番目のパターンにはマッチしません ... せん。 /articles/2003/03/building-a-django-site/ は最後のパターンにマッチします。Django は関数 views.article_detail(request, year=2003, month=3, slug="building-a-django-site") を呼び出します。 パス コンバータ ¶ デフォルトでは、以下のパスコンバータが使用 ...
https://man.mtool.work/django/6.1/topics/http/urls.html
データベース関数 — Django 6.1 ドキュメント 9339
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 ... ンの値を抽出できます。 datetime 2015-06-15 23: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": ... name には、冗長な等価表現の代わりに通常使用すべき Extract サブクラス(下記)があります。たとえば Extract(..., lookup_name='year') の代わりに ExtractYear(...) が使えます。 使用例: >>> from datetime import datetime >>> from django.db.models.functions i ... = start , start_date = start . date (), end_datetime = end , end_date = end . date () ... ) >>> # Add the experiment start year as a field in the QuerySet. >>> experiment = Experiment . objects . annotate ( ... start_year = Extract ( "start_datetime" ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
データベース関数 — Django 6.1 ドキュメント 9339
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 ... ンの値を抽出できます。 datetime 2015-06-15 23: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": ... name には、冗長な等価表現の代わりに通常使用すべき Extract サブクラス(下記)があります。たとえば Extract(..., lookup_name='year') の代わりに ExtractYear(...) が使えます。 使用例: >>> from datetime import datetime >>> from django.db.models.functions i ... = start , start_date = start . date (), end_datetime = end , end_date = end . date () ... ) >>> # Add the experiment start year as a field in the QuerySet. >>> experiment = Experiment . objects . annotate ( ... start_year = Extract ( "start_datetime" ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
ジェネリック日付ビュー — Django 6.1 ドキュメント 9220
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ジェネリック日付ビュー ¶ 日付ベースのジェネリックビュー ( django.views.generic.dates 内で提供されています) は、日付ベースのデータのために、ドリルダウ ... > {{ article.pub_date }} : {{ article.title }} </ li > {% endfor %} </ ul > これは、すべての記事 (article) を出力します。 YearArchiveView ¶ class YearArchiveView [ソース] ¶ 与えられた年の中で有効な月を表示する、年次のアーカイブページです。 allow_fut ... ic.list.MultipleObjectTemplateResponseMixin django.views.generic.base.TemplateResponseMixin django.views.generic.dates.BaseYearArchiveView django.views.generic.dates.YearMixin django.views.generic.dates.BaseDateListView django.views.generic.list.Mult ... 、 datetime.datetime オブジェクトとして昇順に表現された、 queryset に従って利用可能なオブジェクトを持つ全ての月を含みます。 year : 与えられた年を表す date オブジェクト。 next_year : allow_empty と allow_future に従って、次の年の最初の日を表す date オブ ...
https://man.mtool.work/django/6.1/ref/class-based-views/generic-date-based.html
ジェネリック日付ビュー — Django 6.1 ドキュメント 9167
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ジェネリック日付ビュー ¶ 日付ベースのジェネリックビュー ( django.views.generic.dates 内で提供されています) は、日付ベースのデータのために、ドリルダウ ... > {{ article.pub_date }} : {{ article.title }} </ li > {% endfor %} </ ul > これは、すべての記事 (article) を出力します。 YearArchiveView ¶ class YearArchiveView [ソース] ¶ 与えられた年の中で有効な月を表示する、年次のアーカイブページです。 allow_fut ... ic.list.MultipleObjectTemplateResponseMixin django.views.generic.base.TemplateResponseMixin django.views.generic.dates.BaseYearArchiveView django.views.generic.dates.YearMixin django.views.generic.dates.BaseDateListView django.views.generic.list.Mult ... 、 datetime.datetime オブジェクトとして昇順に表現された、 queryset に従って利用可能なオブジェクトを持つ全ての月を含みます。 year : 与えられた年を表す date オブジェクト。 next_year : allow_empty と allow_future に従って、次の年の最初の日を表す date オブ ...
https://man.mtool.work/django/6.1/ref/class-based-views/generic-date-based.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT