mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
11 lines
231 B
Python
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,
|
|
}
|