mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-26 08:05:22 +00:00
14 lines
385 B
Python
14 lines
385 B
Python
|
from .settings import app_settings as settings
|
||
|
|
||
|
|
||
|
def app_settings(request):
|
||
|
"""
|
||
|
Simple context processor that puts the config into every\
|
||
|
RequestContext. Just make sure you have a setting like this::
|
||
|
TEMPLATE_CONTEXT_PROCESSORS = (
|
||
|
# ...
|
||
|
'appsettings.context_processors.app_settings',
|
||
|
)
|
||
|
"""
|
||
|
return {"app_settings": settings}
|