Skip to content

Commit f078990

Browse files
feat: update for Django 3.2 support
Change-Id: I6533233e64ec8a2ddd42d7beaa19194c3c1be5b6
1 parent 6213a5e commit f078990

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mdcs/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
}
4949
}
5050

51+
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
52+
5153
MONGO_HOST = os.environ["MONGO_HOST"] if "MONGO_HOST" in os.environ else ""
5254
MONGO_PORT = os.environ["MONGO_PORT"] if "MONGO_PORT" in os.environ else "27017"
5355
MONGO_DB = os.environ["MONGO_DB"] if "MONGO_DB" in os.environ else ""

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
celery==4.4.7
22
kombu==4.6.11
3-
Django==2.2.24
3+
Django==3.2.*
44
mongoengine==0.23.0

0 commit comments

Comments
 (0)