in testmanage.py [0:0]
def main(): os.environ["DJANGO_SETTINGS_MODULE"] = "testapp.settings" execute_from_command_line(sys.argv)