diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/generic_views.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt index 8a970a8e76..f9544e12b2 100644 --- a/docs/generic_views.txt +++ b/docs/generic_views.txt @@ -192,7 +192,14 @@ The date-based generic functions are: Has the following template context: ``month`` - The given month (a datetime.datetime object) + The given month (a datetime.date object) + ``next_month`` + **New in Django development version.** The first day of the next + month, or None if the next month is in the future (a datetime.date + object) + ``previous_month`` + **New in Django development version.** The first day of the + previous month (a datetime.date object) ``object_list`` List of objects published in the given month |
