diff --git a/cms/envs/common.py b/cms/envs/common.py index 8ff24cbdf7..c059ee68be 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -959,6 +959,9 @@ DATABASES = { } } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' +DEFAULT_HASHING_ALGORITHM = 'sha1' + #################### Python sandbox ############################################ CODE_JAIL = { diff --git a/lms/envs/common.py b/lms/envs/common.py index c2d8ae8979..cc42b2131e 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -1582,6 +1582,10 @@ DATABASES = { } } + +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' +DEFAULT_HASHING_ALGORITHM = 'sha1' + #################### Python sandbox ############################################ CODE_JAIL = {