Closed palewire closed 7 years ago
It's kind of a pain that users have to install the templates manually ala:
TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [BIGBUILD_PAGE_DIR, BIGBUILD_RETIRED_DIR], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'bigbuild.context_processors.environment', 'config.toolbox.context_processors.now', 'config.toolbox.context_processors.base_url', 'config.toolbox.context_processors.git_branch', ], }, }, ]```
Could these settings be hardcoded into the get_template options of the views? That might do it.
get_template
We might also be able to integrate the context_processors in the views.
It's kind of a pain that users have to install the templates manually ala: