Simplify and fix static files serving.
Review Request #5391 — Created Feb. 3, 2014 and submitted — Latest diff uploaded
Simplify and fix static files serving.
Our urls were doing some backflips to be able to serve static files on
production environments whenDEBUG=True, which conflicted with a change that
they made in django. We now serve static media only whenDEBUG=Trueand
PRODUCTION=False, which means that we can use only
django.contrib.staticfiles.views.serve.
Used the devserver.