1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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
This commit is contained in:
Jacob Kaplan-Moss
2005-07-25 22:07:04 +00:00
parent 6c43b0e06c
commit 5498dbe519
2 changed files with 47 additions and 21 deletions

View File

@@ -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: