mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-05-16 13:53:10 +00:00
Prevent test manual import for Django 1.6+. No impact on Django 1.7/1.8, duplicating all test runs in Django 1.6
This commit is contained in:
parent
2a9c199819
commit
eb41dc0ea0
1 changed files with 8 additions and 5 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
|
import django
|
||||||
|
|
||||||
# Needed for Django 1.4/1.5 test runner
|
# Needed for Django 1.4/1.5 test runner
|
||||||
from .test_fields import *
|
if django.VERSION < (1, 6):
|
||||||
from .test_managers import *
|
from .test_fields import *
|
||||||
from .test_models import *
|
from .test_managers import *
|
||||||
from .test_choices import *
|
from .test_models import *
|
||||||
from .test_miscellaneous import *
|
from .test_choices import *
|
||||||
|
from .test_miscellaneous import *
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue