Horizon Context Processors

Horizon Context Processors

Context processors used by Horizon.


The main Horizon context processor. Required for Horizon to function.

It adds the Horizon config to the context as well as setting the names True and False in the context to their boolean equivalents for convenience.


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.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.