Simplify and fix static files serving.

Review Request #5391 — Created Feb. 3, 2014 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Simplify and fix static files serving.

Our urls were doing some backflips to be able to serve static files on
production environments when DEBUG=True, which conflicted with a change that
they made in django. We now serve static media only when DEBUG=True and
PRODUCTION=False, which means that we can use only
django.contrib.staticfiles.views.serve.

Used the devserver.