Commit 7713ddc0 by Xavier Ordoquy

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

parent 12d05630
...@@ -26,6 +26,10 @@ def usage(): ...@@ -26,6 +26,10 @@ def usage():
def main(): def main():
try:
django.setup()
except AttributeError:
pass
TestRunner = get_runner(settings) TestRunner = get_runner(settings)
test_runner = TestRunner() test_runner = TestRunner()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment