>
> MEDIA_ROOT is the path to the directory where your files will live.
>
> MEDIA_URL is the URL the get to those files.
>
> So if MEDIA_ROOT='/home/you/media'
> and MEDIA_URL='site-media/'
>
> Then if you want to view a file located at /home/you/media/thisFile.jpg you enterhttp://yoursite.com/site-media/thisFile.jpg.
I understand the settings just fine. Are you saying that the dev
server is serving your media files? Because it isn't for me. It is
only serving the static media.
> The same counts for STATIC_ROOT and STATIC_URL.
What do you have STATIC_URL set to? Is it different than your
MEDIA_URL?
Thanks.
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment