mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Fixed #28708 -- Added constants to detect the Python version.
This commit is contained in:
parent
abb636c1af
commit
941b0a5b33
4 changed files with 13 additions and 6 deletions
|
@ -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'
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue