Commit adee89f5 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

add a global template context

parent b723427a
import types
from config.settings import parse_bool
import config.env
GLOBAL_CONTEXT = types.MappingProxyType({
def global_context(request):
"""This global context is imported in every rendered template"""
......@@ -220,6 +220,7 @@ TEMPLATES = [
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment