context_processors.py 91 Bytes
Newer Older
1 2
def site_url(request):
    return {'site_url': request.build_absolute_uri('/').strip('/')}