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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user