I'm trying to reference MEDIA_ROOT in my template but it's blank. I have MEDIA_ROOT defined in settings.py:
MEDIA_ROOT = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'static') I have the correct context processor: TEMPLATE_CONTEXT_PROCESSOR = ( 'django.core.context_processors.i18n', 'django.core.context_processors.auth', 'django.core.context_processors.media', ) In my template: MEDIA_ROOT: {{MEDIA_ROOT}} But all I see is: MEDIA_ROOT: So MEDIA_ROOT is blank or doesn't exist. Did I miss something? This is Django 1.2.3, thanks. Oh and I realise there is a newer version of Django out there but I can't upgrade my app... yet.. Thanks again -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.