I didn't have TEMPLATE_CONTEXT_PROCESSORS at all, I copied the code
and it did not help, MEDIA_URL is still blank. I am using django 1.2.1
on windows.
You don't actually need to specify TEMPLATE_CONTEXT_PROCESSORS if you are not changing it from the default - which, as indicated above, already includes the media one.
The issue here is more likely to be that you are not using a RequestContext to render your template. See
http://docs.djangoproject.com/en/1.2/ref/templates/api/#subclassing-context-requestcontext
--
DR.
-- 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment