public
Description: A personal journal application written in Django. You need this.
Homepage: http://trey.github.com/chiplog
Clone URL: git://github.com/trey/chiplog.git
Click here to lend your support to: chiplog and make a donation at www.pledgie.com !
chiplog / context_processors.py
100644 6 lines (5 sloc) 0.228 kb
1
2
3
4
5
6
# -*- coding: utf-8 -*-
 
def chiplog_media_url(request):
    '''Makes the CHIPLOG_MEDIA_URL setting available to all templates.'''
    from django.conf import settings
    return {'chiplog_media_url': settings.CHIPLOG_MEDIA_URL}