From d29fe92cfd96e1944608fca0857078762e2ab2f1 Mon Sep 17 00:00:00 2001 From: sm4640 Date: Sat, 31 May 2025 00:55:13 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Feat:=20[#63]=20=EB=85=B8=EC=BD=94?= =?UTF-8?q?=EB=93=9C=ED=88=B4=20=EC=95=B1=20=EC=B6=94=EA=B0=80,=20MONGODB?= =?UTF-8?q?=20=EC=A0=95=EB=B3=B4=20env=EB=A1=9C=20=EB=B6=88=EB=9F=AC?= =?UTF-8?q?=EC=98=A4=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/settings.py b/config/settings.py index dd50230..a407419 100644 --- a/config/settings.py +++ b/config/settings.py @@ -65,6 +65,7 @@ INSTALLED_APPS = [ 'projects', 'codes', 'notifications', + 'nocodetools', ] MIDDLEWARE = [ @@ -102,6 +103,9 @@ WSGI_APPLICATION = 'config.wsgi.application' # Database # https://docs.djangoproject.com/en/5.1/ref/settings/#databases +MONGODB_URI = env("MONGODB_URI") +MONGODB_NAME = env('MONGODB_NAME') + DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql',