Don’t forget to setup django for 1.7+ as it’s not a regular django command.

This commit is contained in:
Xavier Ordoquy 2014-01-28 13:20:51 +01:00
parent 12d0563082
commit 7713ddc0a8

View File

@ -26,6 +26,10 @@ def usage():
def main():
try:
django.setup()
except AttributeError:
pass
TestRunner = get_runner(settings)
test_runner = TestRunner()