mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Only use the external discover runner old Djangos.
This commit is contained in:
parent
99172fbd68
commit
4278f64ae1
1 changed files with 5 additions and 1 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue