From b6ce39226262b6fd6bdd7ef81abba99ed831d0db Mon Sep 17 00:00:00 2001 From: Nicholas Serra Date: Fri, 1 Apr 2016 21:36:18 -0400 Subject: [PATCH] Hack for importing tests. --- tos/tests/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tos/tests/__init__.py b/tos/tests/__init__.py index 027f01a..80ca9a7 100644 --- a/tos/tests/__init__.py +++ b/tos/tests/__init__.py @@ -1,2 +1,5 @@ -from tos.tests.test_models import * -from tos.tests.test_views import * \ No newline at end of file +import django + +if django.VERSION < (1, 6): + from tos.tests.test_models import * + from tos.tests.test_views import *