mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +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
|
||||
from .test_fields import *
|
||||
from .test_managers import *
|
||||
from .test_models import *
|
||||
from .test_choices import *
|
||||
from .test_miscellaneous import *
|
||||
if django.VERSION < (1, 6):
|
||||
from .test_fields import *
|
||||
from .test_managers import *
|
||||
from .test_models import *
|
||||
from .test_choices import *
|
||||
from .test_miscellaneous import *
|
||||
|
|
|
|||
Loading…
Reference in a new issue