In the Note under this section
http://docs.djangoproject.com/en/dev/howto/static-files/#s-using-django-contrib-staticfiles
, it mentions that "In previous versions of Django, it was common to
place static assets in MEDIA_ROOT along with user-uploaded files, and
serve them both at MEDIA_URL. " and that "staticfiles does not deal
with user-uploaded files at all."

Does this mean that you use STATIC_ROOT for all your static files
(CSS, JS, images), and MEDIA_ROOT just for user-uploaded files?

It's confusing because in the Django code I've looked at, I've only
seen people use the MEDIA_ROOT, and it's often used to store the CSS,
JS and Images (the same files that the documentation seems to be
suggesting that STATIC_ROOT should be used for).

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to