Hi,

I'm having some problems to serve static files in the development
environment.

The directory that actually contains the static files under OSX is:

/Users/paolo/Sites/SF06/sensationalfly/media/


I modified the settings.py MEDIA_ROOT parameter to:

MEDIA_ROOT = '/Users/paolo/Sites/SF06/sensationalfly/'

and MEDIA_URL to:

MEDIA_URL = '/'


However, the following html tag doesn't'work (no image loaded):

<img src="/media/media/thumbnails/test_image.png" />


Furtheremore, when I try the following URL:

http://127.0.0.1:8000/media/test_image.png

I receive this error message:

Page not found: /Library/Python/2.5/site-packages/django/contrib/admin/
media/test_image.png



How can I fix this situation?

Thank you very much for any advice.


Paolo.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to