summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/generic_views.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt
index f9544e12b2..cd27027f2e 100644
--- a/docs/generic_views.txt
+++ b/docs/generic_views.txt
@@ -168,6 +168,9 @@ The date-based generic functions are:
Yearly archive. Requires that the ``year`` argument be present in the URL
pattern.
+ **New in Django development version:** Takes an optional ``allow_empty``
+ parameter, as ``archive_index``.
+
Uses the template ``app_label/module_name_archive_year`` by default.
Has the following template context:
@@ -187,6 +190,9 @@ The date-based generic functions are:
default, which is a three-letter month abbreviation. To change it to use
numbers, use ``"%m"``.
+ **New in Django development version:** Takes an optional ``allow_empty``
+ parameter, as ``archive_index``.
+
Uses the template ``app_label/module_name_archive_month`` by default.
Has the following template context: