web/ldtplatform/utils/context_processors.py
author ymh <ymh.work@gmail.com>
Sat, 29 Jan 2011 06:47:49 +0100
changeset 14 f786cfad718c
parent 2 93d48df946cb
child 35 12cd95dc134f
permissions -rw-r--r--
version 00.02.00

from django.conf import settings
import ldtplatform #@UnresolvedImport

def version(request):
    return {'VERSION': ldtplatform.VERSION_STR }

def base(request):
    return {'BASE_URL': settings.BASE_URL, 'MEDIA_URL': settings.MEDIA_URL }

def web(request):
    return {'WEB_URL': settings.WEB_URL }