Revert "Merge pull request #3697 from AlanCoding/conservative_upgrades"

This reverts commit 890de400e2, reversing
changes made to e8de7bc845.
This commit is contained in:
AlanCoding
2019-04-15 10:39:56 -04:00
parent 5c7939a6ac
commit 5dbc269de1
10 changed files with 27 additions and 27 deletions

View File

@@ -37,9 +37,9 @@ if HAS_DJANGO is True:
# This line exists to make sure we don't regress on FIPS support if we
# upgrade Django; if you're upgrading Django and see this error,
# update the version check below, and confirm that FIPS still works.
if django.__version__ != '1.11.20':
raise RuntimeError("Django version other than 1.11.20 detected {}. \
Subclassing BaseDatabaseSchemaEditor is known to work for Django 1.11.20 \
if django.__version__ != '1.11.16':
raise RuntimeError("Django version other than 1.11.16 detected {}. \
Subclassing BaseDatabaseSchemaEditor is known to work for Django 1.11.16 \
and may not work in newer Django versions.".format(django.__version__))