1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
netbox-community-netbox/netbox/utilities/context_processors.py
2018-08-14 11:58:42 -04:00

11 lines
231 B
Python

from django.conf import settings as django_settings
def settings(request):
"""
Expose Django settings in the template context. Example: {{ settings.DEBUG }}
"""
return {
'settings': django_settings,
}