Template context processor to make the settings.py values available in templates
The above snippet makes all of the settings.py variables accessible in templates. Add this to the context_processors.py file inside your app directory. After that add the below line to the TEMPLATE_CONTEXT_PROCESSORS in your settings.py. '*app_name*.context_processors.access_to_settings'
- templates
- context-processor