From f8d44650d3eb1a0ae1115a295141cf8e11b74bf8 Mon Sep 17 00:00:00 2001 From: Jawayria Date: Thu, 5 Aug 2021 15:15:19 +0500 Subject: [PATCH] chore: Updated lms and cms settings --- cms/envs/common.py | 3 +++ lms/envs/common.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/cms/envs/common.py b/cms/envs/common.py index d85a10222b..d937869fe3 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -940,6 +940,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 852cabe999..141cfbe5c2 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -1585,6 +1585,10 @@ DATABASES = { } } + +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' +DEFAULT_HASHING_ALGORITHM = 'sha1' + #################### Python sandbox ############################################ CODE_JAIL = {