web/ldtplatform/utils/context_processors.py
author ymh <ymh.work@gmail.com>
Thu, 18 Aug 2011 10:32:39 +0200
changeset 135 01f6e48255f7
parent 2 93d48df946cb
child 35 12cd95dc134f
permissions -rw-r--r--
add south

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 }