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
Jeremy Stretch f7aa259995 Misc cleanup
2018-07-30 14:00:37 -04:00

13 lines
272 B
Python

from __future__ import unicode_literals
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,
}