**** CubicPower OpenStack Study ****
def horizon(request):
"""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.
.. 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.
"""
context = {"HORIZON_CONFIG": conf.HORIZON_CONFIG,
"True": True,
"False": False}
return context