nsupdate.info/nsupdate/context_processors.py

11 lines
274 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
from django.conf import settings
2013-09-29 01:21:44 +02:00
def add_settings(request):
context = {}
context['WWW_HOST'] = settings.WWW_HOST
context['WWW_IPV4_HOST'] = settings.WWW_IPV4_HOST
context['WWW_IPV6_HOST'] = settings.WWW_IPV6_HOST
return context