blob: d6456a9dfe28804526858351798d829bb4f0351a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
def secure(request):
return {'secure': request.is_secure()}
def branding(request):
from django.conf import settings
return {
'BRANDING_APPNAME': settings.BRANDING_APPNAME,
'BRANDING_DISTRONAME': settings.BRANDING_DISTRONAME,
'BRANDING_SHORTNAME': settings.BRANDING_SHORTNAME,
'BRANDING_WIKINAME': settings.BRANDING_WIKINAME,
'BRANDING_EMAIL': settings.BRANDING_EMAIL,
'MAILMAN_BASE_URL': settings.MAILMAN_BASE_URL,
}
# vim: set ts=4 sw=4 et:
|