Fix serving uploaded media on a dev server.
Review Request #5439 — Created Feb. 8, 2014 and submitted — Latest diff uploaded
Fix serving uploaded media on a dev server.
The recent fixes for static media resulted in
/media/
serving up static
media files instead of the/media/
directory. This happened because the
document_root
was no longer set and the static file server was used.
This reverts that part of the code.
My media files and my static files were all being served correctly after
this change.