This site is best viewed in Mozilla Firefox or Google Chrome
Fri, 18th May 2012 03:58:09
Never fear, this site is here  

Go back to post Create new comment

#

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
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.