From ab28bb56a598651b882ccd40f82f19b9d604a3bb Mon Sep 17 00:00:00 2001 From: "Sanzhar.swydk" Date: Sat, 31 Aug 2024 15:20:13 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20backend/settings.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/settings.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/backend/settings.py b/backend/settings.py index 3ef845c..e4de038 100644 --- a/backend/settings.py +++ b/backend/settings.py @@ -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', } }