Feat: [#63] 노코드툴 앱 추가, MONGODB 정보 env로 불러오기

This commit is contained in:
sm4640
2025-05-31 00:55:13 +09:00
parent 7b891b3d92
commit d29fe92cfd

View File

@@ -65,6 +65,7 @@ INSTALLED_APPS = [
'projects', 'projects',
'codes', 'codes',
'notifications', 'notifications',
'nocodetools',
] ]
MIDDLEWARE = [ MIDDLEWARE = [
@@ -102,6 +103,9 @@ WSGI_APPLICATION = 'config.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases # https://docs.djangoproject.com/en/5.1/ref/settings/#databases
MONGODB_URI = env("MONGODB_URI")
MONGODB_NAME = env('MONGODB_NAME')
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql', 'ENGINE': 'django.db.backends.postgresql',