summaryrefslogtreecommitdiff
path: root/docs/ref/generic-views.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/generic-views.txt')
-rw-r--r--docs/ref/generic-views.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/generic-views.txt b/docs/ref/generic-views.txt
index 0a589f0bd4..54114d07a6 100644
--- a/docs/ref/generic-views.txt
+++ b/docs/ref/generic-views.txt
@@ -29,6 +29,8 @@ Most generic views require the ``queryset`` key, which is a ``QuerySet``
instance; see :doc:`/topics/db/queries` for more information about ``QuerySet``
objects.
+.. module:: django.views.generic.simple
+
"Simple" generic views
======================
@@ -146,6 +148,8 @@ string is written as ``"%7Ejacob/"`` (with only a single ``%``), an exception wo
('^bar/$', redirect_to, {'url': '%%7Ejacob.'}),
)
+.. module:: django.views.generic.date_based
+
Date-based generic views
========================
@@ -677,6 +681,8 @@ In addition to ``extra_context``, the template's context will be:
``template_object_name`` is ``'foo'``, this variable's name will be
``foo``.
+.. module:: django.views.generic.list_detail
+
List/detail generic views
=========================
@@ -862,6 +868,8 @@ In addition to ``extra_context``, the template's context will be:
``template_object_name`` is ``'foo'``, this variable's name will be
``foo``.
+.. module:: django.views.generic.create_update
+
Create/update/delete generic views
==================================