summaryrefslogtreecommitdiff
path: root/docs/generic_views.txt
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2005-07-25 22:07:04 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2005-07-25 22:07:04 +0000
commit5498dbe519ea5e629d1a1818aa9d17946f51d326 (patch)
tree90b28344209c59d40e7149f4f553b446152cfad1 /docs/generic_views.txt
parent6c43b0e06c09b7311aeba850a9e5ca3596f62e96 (diff)
Fixed #196: date-based generic views now have a "use_numeric_months" option if you'd like to use numeric months in the urls. Also fixed #183 while I was at it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/generic_views.txt')
-rw-r--r--docs/generic_views.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt
index 0a917ceb4b..4aec295a65 100644
--- a/docs/generic_views.txt
+++ b/docs/generic_views.txt
@@ -126,7 +126,10 @@ The date-based generic functions are:
``archive_month``
Monthly archive. Requires that ``year`` and ``month`` arguments be given.
-
+ You may pass the additional option ``use_numeric_months`` if you'd like to
+ use URLs that use numbers instead of names for months (i.e. ``/2005/01/15/``
+ instead of ``/2005/jan/15/``.
+
Uses the template ``app_label/module_name__archive_month`` by default.
Has the following template context: