Source

website / processor.py

#coding:utf-8
from django.conf import settings

def default(request):
    retorno = {}
    
    retorno['settings'] = settings
    for (chave, valor) in request.session.items():
        retorno[chave] = valor
    
    return retorno