Hi,

This looks like a bug to me.

When I set ADMIN_MEDIA_PREFIX = '/media/', some weird things happen,
such as:
- I get different 404 messages for non existing files
- the served files does not appear in the development server console
- the files under \site-packages\django\contrib\admin\media\ are
served, instead of the /media/ folder in under my MEDIA_ROOT

But when I set ADMIN_MEDIA_PREFIX = 'http://localhost:8000/media/'
everything works as expected, that is:
- standard 404 messages
- served files appear in the console
- files under MEDIA_ROOT/media/ are served

Any idea why this difference exists?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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