aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-07-12 07:50:51 +0400
committerGravatar GitHub <[email protected]>2022-07-12 07:50:51 +0400
commit7511c6d4aff6f3ad31ccb43c00226a9187d7ece1 (patch)
tree0c26ec6aa690ce4c62c5cf9b56f4944066cc319e /pydis_site/settings.py
parentMerge #722 - resources: add The Algorithms and remove Atom (diff)
parentBump Django To 4.0 (diff)
Merge pull request #740 from python-discord/update-django
Update Django Version To 4.0
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r--pydis_site/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 17f220f3..03c16f4b 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -219,6 +219,9 @@ if DEBUG:
else:
PARENT_HOST = env('PARENT_HOST', default='pythondiscord.com')
+# Django Model Configuration
+DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
+
# Django REST framework
# https://www.django-rest-framework.org
REST_FRAMEWORK = {