diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/templates/api.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 94492702ca..2054a5e4d8 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -736,6 +736,14 @@ tag for protection against :doc:`Cross Site Request Forgeries If this processor is enabled, every ``RequestContext`` will contain a variable ``request``, which is the current :class:`~django.http.HttpRequest`. +``django.template.context_processors.tz`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. function:: tz + +If this processor is enabled, every ``RequestContext`` will contain a variable +``TIME_ZONE``, providing the name of the currently active time zone. + ``django.contrib.messages.context_processors.messages`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
