Only use the external discover runner old Djangos.

This commit is contained in:
Jannis Leidel 2014-11-21 14:29:24 +01:00
parent 99172fbd68
commit 4278f64ae1

View file

@ -1,9 +1,13 @@
# -*- encoding: utf-8 -*-
import django
import six
from datetime import datetime, date, time
from decimal import Decimal
TEST_RUNNER = 'discover_runner.DiscoverRunner'
if django.VERSION[:2] < (1, 6):
TEST_RUNNER = 'discover_runner.DiscoverRunner'
SECRET_KEY = 'cheese'