Switched to MySQL

This commit is contained in:
2022-07-12 14:49:08 +03:00
parent 5a97fc131d
commit 02b1eb6003
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -80,8 +80,12 @@ WSGI_APPLICATION = 'dnd_db_site.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.mysql',
'NAME': env('DB_NAME'),
'USER': env('DB_USER'),
'PASSWORD': env('DB_PASSWORD'),
'HOST': 'localhost',
'PORT': '',
}
}