Обновить backend/settings.py
This commit is contained in:
parent
16176ab713
commit
ab28bb56a5
@ -114,31 +114,14 @@ WSGI_APPLICATION = 'backend.wsgi.application'
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases
|
||||
|
||||
""" DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
'NAME': 'mcduck', # Поставлено как пример
|
||||
'USER': 'postgres',
|
||||
'PASSWORD': 'swydk', # Поставлено как пример
|
||||
'HOST': 'localhost',
|
||||
'PORT': '5432',
|
||||
}
|
||||
} """
|
||||
import os
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
<<<<<<< HEAD
|
||||
'NAME': 'mydatabase',
|
||||
'USER': 'myuser',
|
||||
'PASSWORD': 'mypassword',
|
||||
'HOST': 'db',
|
||||
=======
|
||||
'NAME': '',
|
||||
'USER': 'postgres',
|
||||
'PASSWORD': 'swydk',
|
||||
'HOST': 'localhost',
|
||||
>>>>>>> 50e3fec210db2b31b8f409658469cecde47a8cac
|
||||
'PORT': '5432',
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user