A set of request processors that return dictionaries to be merged into a template context. Each function takes the request object as its only parameter and returns a dictionary to add to the context.
These are referenced from the 'context_processors' option of the configuration of a DjangoTemplates backend and used by RequestContext.
Function | debug |
Return context variables helpful for debugging. |
Function | i18n |
Undocumented |
Function | static |
Add static-related context variables to the context. |
Function | tz |
Undocumented |
Function | csrf |
Context processor that provides a CSRF token, or the string 'NOTPROVIDED' if it has not been provided by either a view decorator or the middleware |
Function | media |
Add media-related context variables to the context. |
Function | request |
Undocumented |