# utils/context_processors.py

import sys

from django.conf import settings as django_settings

class SettingsProcessor(object):
    def __getattr__(self, attr):
        if attr == '__file__':
            # autoreload support in dev server
            return __file__
        else:
            return lambda request: {attr: getattr(django_settings, attr)}

sys.modules[__name__ + '.settings'] = SettingsProcessor()

# in settings.py

TEMPLATE_CONTEXT_PROCESSORS = (
    # ....
    'utils.context_processors.settings.GOOGLEMAPS_KEY',
    'utils.context_processors.settings.TEMPLATE_DEBUG',
    'utils.context_processors.settings.MAXMIND_URL',
)