Go back to post Create new comment

RSS Be notified of new comments on this post with the RSS feed for this post.

#

In this example, are you copying your entire Django project into your web server's document root? (not the greatest best practice)

Or are you keeping this project directory structure somewhere else on your production server, and only making a copy (or symlink) of the "/static" directory underneath your document root?

I'm a just little fuzzy on how the translation from MEDIA_ROOT to MEDIA_URL works out. Can you please elaborate?

Go back to post

Create a new comment

Go to the top

You can use a restricted version of markdown formatting here. You can use the toolbar above the text field to make this more painless. For more information about markdown please refer to the markdown cheatsheet.

For post: Serving Static Content With Django
Your name:
Your email (optional):
Your website (optional):
 
 
 

A preview of your comment:

Powered by Debian, Jack Daniels, Guinness, and excessive quantities of caffeine and sugar.