Skip to content
Permalink
Browse files

Restored Django flags in compat file (#6636)

  • Loading branch information...
vThaian authored and FinalAngel committed Mar 19, 2019
1 parent c973e97 commit eeb1e4712b3866e243daf800c142e2199e4be9df
Showing with 3 additions and 0 deletions.
  1. +3 −0 cms/utils/compat/__init__.py
@@ -8,6 +8,9 @@
PYTHON_VERSION = platform.python_version()

# These means "less than or equal to DJANGO_FOO_BAR"
DJANGO_1_8 = LooseVersion(DJANGO_VERSION) < LooseVersion('1.9')
DJANGO_1_9 = LooseVersion(DJANGO_VERSION) < LooseVersion('1.10')
DJANGO_1_10 = LooseVersion(DJANGO_VERSION) < LooseVersion('1.11')
DJANGO_1_11 = LooseVersion(DJANGO_VERSION) < LooseVersion('2.0')
DJANGO_2_0 = LooseVersion(DJANGO_VERSION) < LooseVersion('2.1')
DJANGO_2_1 = LooseVersion(DJANGO_VERSION) < LooseVersion('2.2')

0 comments on commit eeb1e47

Please sign in to comment.
You can’t perform that action at this time.