serve media and static separately for development
I like the recent move using collect static and splitting up static files (css js ect) and media files. But for development they still have everything clumped into site_media, the docs don't recommend splitting this up (why). I want to have my code ready to go when I switch to prod so I'm using {{ STATIC_URL }} and {{MEDIA_URL}} right away.
Anyone have examples they are using to server both locations in development?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/WyFkrQNiuYIJ.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home