reviewboard/urls.py (Diff revision 1)
Indentation here is funky
Switch our media setup to use Django's staticfiles support.
Review Request #2914 — Created Feb. 23, 2012 and submitted
Tested various Review Board pages, including the login page, dashboard, New Review Request page, review requests, screenshots, diff viewer, and admin UI. Tested media with DEBUG and non-DEBUG builds, and with DEBUG but turning on media pipelining. Tested creating a new site and verifying that the media dirs were still symlinking as expected into the locations specified by the user. Tested upgrading a site and verified that the media worked as expected (after manually updating the Apache config file to point to the static directory), and that the old static media links were gone. Tested that an old configuration with in-database site_media_url and site_media_root paths were updated to create accompanying static versions. All Unit tests passed.