... h1 > {% for obj in object_list %} < p > {{ obj.title }} - {{ obj.pub_date | date :"F j, Y" }} </ p > {% endfor %} </ div > MonthArchiveView class MonthArchiveView [ソース] 与えられた月の中で有効な全オブジェクトを表示する、月次のアーカイブページです。 allow_futur ... 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.BaseDateListView dja ... ノート デフォルトの template_name_suffix は _archive_month です。 例 myapp/views.py : from django.views.generic.dates import MonthArchiveView from myapp.models import Article class ArticleMonthArchiveView ( MonthArchiveView ): queryset = Article . objects . all () ... ... ー (Generic editing view) FormView CreateView UpdateView DeleteView ジェネリック日付ビュー ArchiveIndexView YearArchiveView MonthArchiveView WeekArchiveView DayArchiveView TodayArchiveView DateDetailView クラスベースビューのミックスイン (mixin) シンプルなミックス ... ストビュー ListView 編集ビュー FormView CreateView UpdateView DeleteView 日付ベースのビュー ArchiveIndexView YearArchiveView MonthArchiveView WeekArchiveView DayArchiveView TodayArchiveView DateDetailView 仕様 クラスベースビューによって提供される各リクエストは、独 ... ... 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_allow_future() ... ... ulated according to allow_empty and allow_future . Context in year and month archive class-based views YearArchiveView and MonthArchiveView were documented to provide a date_list sorted in ascending order in the context, like their function-based predecessors, b ... ... ineFormSet (django.contrib.contenttypes.forms のクラス) BaseGeometryWidget (django.contrib.gis.forms.widgets のクラス) BaseMonthArchiveView (django.views.generic.dates のクラス) BaseRenderer (django.forms.renderers のクラス) BaseTaskBackend (django.tasks.backend ... Config の属性) month field lookup type month (MonthMixin の属性) MONTH_DAY_FORMAT setting month_format (MonthMixin の属性) MonthArchiveView (django.views.generic.dates のクラス) (組み込みクラス) MonthMixin (django.views.generic.dates のクラス) months (SelectDate ... 2026年10月08日