Comment on Serving Static Content With Django

stevedperkins@yahoo.com
Thu, 11 Aug 2011 04:24:40 +0000

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?