Commits

Luke Plant committed a287a6e

Fixed manage.py to use correct settings so we don't need DJANGO_SETTINGS_MODULE

(since we've already customised the way manage.py works we may as well)

Comments (0)

Files changed (2)

ENV

-workon cciw
-export DJANGO_SETTINGS_MODULE=cciw.settings
 #!/usr/bin/env python2.5
 import warnings
 #warnings.simplefilter("error", PendingDeprecationWarning)
+import os
+os.environ['DJANGO_SETTINGS_MODULE'] = 'cciw.settings'
 from django.core import management
 if __name__ == "__main__":
     management.execute_from_command_line()