web/ldtplatform/utils/context_processors.py
author ymh <ymh.work@gmail.com>
Wed, 02 Mar 2011 15:47:19 +0100
branchmodal_update
changeset 33 3dd37cc8d8b3
parent 2 93d48df946cb
child 35 12cd95dc134f
permissions -rw-r--r--
small rename

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 }