mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-03-30 07:01:55 +01:00
[svn r8235] modify context so it does not pass unneeded and sensitive info in settings to templates
This commit is contained in:
parent
119f93255c
commit
047e259551
@ -1,4 +1,7 @@
|
|||||||
import troggle.settings as settings
|
import troggle.settings as settings
|
||||||
|
|
||||||
def settingsContext(request):
|
def settingsContext(request):
|
||||||
return { 'settings':settings }
|
return { 'settings.MEDIA_URL':settings.MEDIA_URL,
|
||||||
|
'settings.URL_ROOT':settings.URL_ROOT,
|
||||||
|
'settings.ADMIN_MEDIA_PREFIX':settings.ADMIN_MEDIA_PREFIX,
|
||||||
|
'settings.SVX_URL':settings.SVX_URL }
|
Loading…
x
Reference in New Issue
Block a user