[ English | 한국어 (대한민국) | español | français | Esperanto | português (Brasil) | English (United Kingdom) | Indonesia | 中文 (简体, 中国) | русский | नेपाली | Deutsch ]
Horizon Context Processors¶
Context processors used by Horizon.
- horizon.context_processors.horizon(request)[source]¶
- The main Horizon context processor. Required for Horizon to function. - It adds the Horizon config to the context as well as setting the names - Trueand- Falsein the context to their boolean equivalents for convenience.- Warning - Don’t put API calls in context processors; they will be called once for each template/template fragment which takes context that is used to render the complete output. 
