• 
      

    Simplify and fix static files serving.

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

    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.

    chipx86
    1. Ship It!

    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (1fd90bb).