Hey guys,

So i am a little confused by the MEDIA_ROOT, MEDIA_URL, and
ADMIN_MEDIA_PREFIX  variables.

I understand that the ADMIN_MEDIA_PREFIX provides the prefix. But so what if
it was on another url? I am assuming that the common use case is to serve
them from the same domain, which is what i am doing. But just in case...

Also, why do we need a MEDIA_ROOT as a path to a directory if we can use the
static.serve view during development? And then so why are both the MEDIA_URL
and MEDIA_ROOT needed?

As you can see, I'm a little confused by these settings and have managed to
develop with using them this far. So any explanation is appreciated. I find
the documentation a little lacking in explaining these vars.


Regards,
Alaa Salman
http://www.codedemigod.com
FSF Member #6304
"Never measure the height of a mountain until you have reached the top. Then
you will see how low it was." ---Dag Hammarskjold

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