Alter manage.py to not load extensions if running server or test

Review Request #1679 — Created June 22, 2010 and submitted

Information

Review Board
extensions

Reviewers

We don't want extensions manager to be loaded a second time when RB boots up during either test or runserver.

I've also done a little clean up to make this script pass pep8.

I hope it's alright that I moved fix_django_evolution_issues(settings) above the dependency check and the extension loader - I needed to do that in order to make sure the environment was right to load extensions.
Manual.
chipx86
  1. Looks good. Committed to extensions (5a768f9).
  2. 
      
Loading...