src/hp/context_processors.py
changeset 41 b6010b3d6ea8
parent 38 0fe2f3f5466f
equal deleted inserted replaced
40:342f180b09ec 41:b6010b3d6ea8
     3 Created on Nov 11, 2012
     3 Created on Nov 11, 2012
     4 
     4 
     5 @author: ymh
     5 @author: ymh
     6 '''
     6 '''
     7 from . import get_version
     7 from . import get_version
       
     8 from . import settings
     8 
     9 
     9 def hp_context(request):    
    10 def hp_context(request):    
    10     return {'VERSION' : get_version()}
    11     return {'VERSION' : get_version(), 'LDT_URL' : settings.LDT_URL, 'LDT_STATIC_URL' : settings.LDT_STATIC_URL}