Fixed #28708 -- Added constants to detect the Python version.

This commit is contained in:
Tim Graham 2017-10-12 11:08:05 -04:00
parent abb636c1af
commit 941b0a5b33
4 changed files with 13 additions and 6 deletions

View file

@ -26,10 +26,10 @@ from django.db.migrations.recorder import MigrationRecorder
from django.test import (
LiveServerTestCase, SimpleTestCase, TestCase, override_settings,
)
from django.utils.version import PY36
custom_templates_dir = os.path.join(os.path.dirname(__file__), 'custom_templates')
PY36 = sys.version_info >= (3, 6)
SYSTEM_CHECK_MSG = 'System check identified no issues'