src/hp/context_processors.py
author ymh <ymh.work@gmail.com>
Fri, 16 Nov 2012 18:33:51 +0100
changeset 65 6289931858a7
parent 41 b6010b3d6ea8
permissions -rw-r--r--
add a project property to override the front project.

# -*- coding: utf-8 -*-
'''
Created on Nov 11, 2012

@author: ymh
'''
from . import get_version
from . import settings

def hp_context(request):    
    return {'VERSION' : get_version(), 'LDT_URL' : settings.LDT_URL, 'LDT_STATIC_URL' : settings.LDT_STATIC_URL}