Make settings.LOCALSERVER available as `localserver` inside templates

(imported from commit 4f0cfd1f1015061942f603cbc03a253a713a9f83)
This commit is contained in:
Luke Faraone 2013-10-25 13:31:13 -04:00
parent 0bc5b13648
commit 70e161db01
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import ujson
def add_settings(request): def add_settings(request):
return { return {
'full_navbar': settings.FULL_NAVBAR, 'full_navbar': settings.FULL_NAVBAR,
'localserver': settings.LOCALSERVER,
} }
def add_metrics(request): def add_metrics(request):