From efcfadf25094dcb9730a9e283bd51cdc25a5d3f2 Mon Sep 17 00:00:00 2001 From: CodeWizardette Date: Sat, 26 Aug 2023 17:30:43 +0300 Subject: [PATCH] main --- envanter/envanter/settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/envanter/envanter/settings.py b/envanter/envanter/settings.py index 2dd1160..41e015c 100644 --- a/envanter/envanter/settings.py +++ b/envanter/envanter/settings.py @@ -71,8 +71,12 @@ DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': BASE_DIR / 'db.sqlite3', + 'ENGINE': 'django.db.backends.mysql', + 'NAME': 'your_database_name', + 'USER': 'your_database_user', + 'PASSWORD': 'your_database_password', + 'HOST': 'localhost', + 'PORT': '3306', } }