On Jun 17, 11:59 pm, Joel Bernstein <[EMAIL PROTECTED]> wrote:
> Generally, Django could not care less where you put most of your
> static media files. There are two main exceptions, though:
>
> 1. Django needs to know the URL to the media files for its admin
> application (ADMIN_MEDIA_PREFIX)
>
Generally, Django could not care less where you put most of your
static media files. There are two main exceptions, though:
1. Django needs to know the URL to the media files for its admin
application (ADMIN_MEDIA_PREFIX)
2. Django needs to know where in the server's filesystem it should put
newl
You need MEDIA_ROOT because yes, you serve it from static.serve view during
development but when you launch you do not want to be using the devserver to
display your site. MEDIA_URL is essentially the same url you map through
Apache, lighthttpd, whatever you use
But you are right, you can use the
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
4 matches
Mail list logo