Actually i thought i have but i haven't, i added:

TEMPLATE_CONTEXT_PROCESSORS = (
    "django.core.context_processors.media"
)

to my settings.py (it didn't seem to be in there by default, i don't
know if thats supposed to be the case).

Then when it didn't work i tried creating a simple template that just
contained:

<html>{{ MEDIA_URL }}</html> just to see what its value was and it was
empty (or at least nothing was printed out)

this is my media url:

MEDIA_URL = 'http://localhost:8080/akonline/media/'

and my error log says:

[Sat Feb 28 21:24:30 2009] [error] [client 127.0.0.1] File does not
exist: C:/Program Files/Apache2.2/htdocs/akonline/images, referer:
http://localhost:8080/akonline/

when the template tries

img src="{{ MEDIA_URL }}imgs/feed-icon_.png"

so its not looking in the right place, i don't see whats wrong here, i
would appreciate any suggestions

Andrew



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to