Fixed #32536 -- Added links to BaseDetailView/BaseListView.get() methods in CBV docs.
This commit is contained in:
parent
775b796d8d
commit
bc04941bf8
|
@ -114,7 +114,7 @@ Detail Views
|
||||||
|
|
||||||
* :meth:`~django.views.generic.base.View.as_view`
|
* :meth:`~django.views.generic.base.View.as_view`
|
||||||
* :meth:`~django.views.generic.base.View.dispatch`
|
* :meth:`~django.views.generic.base.View.dispatch`
|
||||||
* ``get()``
|
* :meth:`~django.views.generic.detail.BaseDetailView.get`
|
||||||
* :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_data`
|
* :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_data`
|
||||||
* :meth:`~django.views.generic.detail.SingleObjectMixin.get_object`
|
* :meth:`~django.views.generic.detail.SingleObjectMixin.get_object`
|
||||||
* ``head()``
|
* ``head()``
|
||||||
|
|
|
@ -34,7 +34,7 @@ many projects they are typically the most commonly used views.
|
||||||
#. :meth:`~django.views.generic.detail.SingleObjectMixin.get_object()`
|
#. :meth:`~django.views.generic.detail.SingleObjectMixin.get_object()`
|
||||||
#. :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name()`
|
#. :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_object_name()`
|
||||||
#. :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_data()`
|
#. :meth:`~django.views.generic.detail.SingleObjectMixin.get_context_data()`
|
||||||
#. ``get()``
|
#. :meth:`~django.views.generic.detail.BaseDetailView.get`
|
||||||
#. :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response()`
|
#. :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response()`
|
||||||
|
|
||||||
**Example myapp/views.py**::
|
**Example myapp/views.py**::
|
||||||
|
@ -123,7 +123,7 @@ many projects they are typically the most commonly used views.
|
||||||
#. :meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset()`
|
#. :meth:`~django.views.generic.list.MultipleObjectMixin.get_queryset()`
|
||||||
#. :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name()`
|
#. :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_object_name()`
|
||||||
#. :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data()`
|
#. :meth:`~django.views.generic.list.MultipleObjectMixin.get_context_data()`
|
||||||
#. ``get()``
|
#. :meth:`~django.views.generic.list.BaseListView.get`
|
||||||
#. :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response()`
|
#. :meth:`~django.views.generic.base.TemplateResponseMixin.render_to_response()`
|
||||||
|
|
||||||
**Example views.py**::
|
**Example views.py**::
|
||||||
|
|
Loading…
Reference in New Issue