I have a site developed with django at http://www.example.com
I want that django insert/serve static files ( images ) in/from media.example.com
How do I do ?
.
Thanks ^_______^
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Django’s ability to serve static files is meant to be used for development only. Django is a web application framework, and the webservers should be much better at serving static content. (relevant docs here)
You should configure your webserver to serve static content from media.example.com, and skip django for such URLs.