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