✨ Feat: [#63] 노코드툴 앱 추가, MONGODB 정보 env로 불러오기
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user