Fix dependency checks in manage.py

Review Request #5770 — Created May 4, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
02d5ad8...

Reviewers

Our dependency checks (which print errors and warnings when running the
devserver) weren't working, because of the changes in how the settings module
is defined. We used to check whether the settings module was defined in the
environment, but when we switched to Django 1.5, we started inserting that into
the environment ourselves. I've added a flag to check whether or not we're in a
subprocess.

Ran the devserver and saw it run the dependency checks (but only once).