You have a TIME_ZONE variable available in your templates because you have django.core.context_processors.tz
context processor enabled in your settings.
Reference: https://docs.djangoproject.com/en/dev/topics/i18n/timezones/#get-current-timezone.
For other settings you'd need to write your own context processor or send your settings values from the view.
You can import your project's settings like that: from django.conf import settings
.
Docs advise to use it instead of your local settings file.
You can find details here: https://docs.djangoproject.com/en/dev/topics/settings/#using-settings-in-python-code