On 7/5/07, John-Scott <[EMAIL PROTECTED]> wrote:
> (i.e. MEDIA_ROOT, MEDIA_URL, ADMIN_MEDIA_PREFIX) are
> supposed to interact with the Apache config. back to the docs...

MEDIA_ROOT is used for uploads (like FileField and ImageField.
MEDIA_URL should be the service URL matching MEDIA_ROOT; it is also
used in things like Model.get_FIELD_url where FIELD is the name of an
ImageField on your model.

Probably, you want your doc root to be some prefix of MEDIA_ROOT (or
MEDIA_ROOT itself).
MEDIA_URL would be the portion of the MEDIA_ROOT not included in your
apache doc root (or '/' if the same).

ADMIN_MEDIA_PREFIX is the URL portion under MEDIA_URL that is
symlinked to django/contrib/admin/media.  (You don't need to worry
about this unless you're using the Admin app.)

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