|
|
@ -40,6 +40,7 @@ Simple generic views
|
|
|
|
**Attributes** (with optional accessor):
|
|
|
|
**Attributes** (with optional accessor):
|
|
|
|
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.response_class` [:meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response`]
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.template_engine`
|
|
|
@ -92,6 +93,7 @@ Detail Views
|
|
|
|
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
|
|
|
@ -128,6 +130,7 @@ List Views
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.allow_empty` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_allow_empty`]
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
|
|
|
@ -163,6 +166,7 @@ Editing views
|
|
|
|
**Attributes** (with optional accessor):
|
|
|
|
**Attributes** (with optional accessor):
|
|
|
|
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.FormMixin.get_form_class`]
|
|
|
|
* :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.FormMixin.get_form_class`]
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.edit.FormMixin.initial` [:meth:`~django.views.generic.edit.FormMixin.get_initial`]
|
|
|
|
* :attr:`~django.views.generic.edit.FormMixin.initial` [:meth:`~django.views.generic.edit.FormMixin.get_initial`]
|
|
|
@ -195,6 +199,7 @@ Editing views
|
|
|
|
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.edit.ModelFormMixin.fields`
|
|
|
|
* :attr:`~django.views.generic.edit.ModelFormMixin.fields`
|
|
|
|
* :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.ModelFormMixin.get_form_class`]
|
|
|
|
* :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.ModelFormMixin.get_form_class`]
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
@ -238,6 +243,7 @@ Editing views
|
|
|
|
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.edit.ModelFormMixin.fields`
|
|
|
|
* :attr:`~django.views.generic.edit.ModelFormMixin.fields`
|
|
|
|
* :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.ModelFormMixin.get_form_class`]
|
|
|
|
* :attr:`~django.views.generic.edit.FormMixin.form_class` [:meth:`~django.views.generic.edit.ModelFormMixin.get_form_class`]
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
@ -281,6 +287,7 @@ Editing views
|
|
|
|
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.context_object_name` [:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg`
|
|
|
@ -322,6 +329,7 @@ Date-based views
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
|
|
|
@ -361,6 +369,7 @@ Date-based views
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.dates.YearArchiveView.make_object_list` [:meth:`~django.views.generic.dates.YearArchiveView.get_make_object_list`]
|
|
|
|
* :attr:`~django.views.generic.dates.YearArchiveView.make_object_list` [:meth:`~django.views.generic.dates.YearArchiveView.get_make_object_list`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
@ -403,6 +412,7 @@ Date-based views
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
|
|
|
|
* :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
|
|
|
@ -448,6 +458,7 @@ Date-based views
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.base.TemplateResponseMixin.content_type`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.context_object_name` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.ordering` [:meth:`~django.views.generic.list.MultipleObjectMixin.get_ordering`]
|
|
|
@ -493,6 +504,7 @@ Date-based views
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
|
|
|
|
* :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
|
|
|
@ -542,6 +554,7 @@ Date-based views
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.list.MultipleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
|
|
|
|
* :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
|
|
|
@ -590,6 +603,7 @@ Date-based views
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DateMixin.date_field` [:meth:`~django.views.generic.dates.DateMixin.get_date_field`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day` [:meth:`~django.views.generic.dates.DayMixin.get_day`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
|
|
|
|
* :attr:`~django.views.generic.dates.DayMixin.day_format` [:meth:`~django.views.generic.dates.DayMixin.get_day_format`]
|
|
|
|
|
|
|
|
* :attr:`~django.views.generic.base.ContextMixin.extra_context`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.base.View.http_method_names`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.detail.SingleObjectMixin.model`
|
|
|
|
* :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
|
|
|
|
* :attr:`~django.views.generic.dates.MonthMixin.month` [:meth:`~django.views.generic.dates.MonthMixin.get_month`]
|
|
|
|