Source

inbounding / inbounding / dispatch / context_processors.py

Full commit
import socket
from urllib2 import urlopen, URLError, HTTPError

from django.conf import settings
from django.template import Library, Node, TemplateSyntaxError


def context_settings(request):
    domain  = settings.DOMAIN    
    main_css  = settings.MAIN_CSS
    main_js   = settings.MAIN_JS

    if settings.DEBUG:
        debug = settings.DEBUG
    else:
        debug = False

    return { "domain" : domain, "debug": debug, "main_css": main_css, 
              "main_js": main_js }