mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-12-24 17:42:23 +00:00
Test DB is SQLite3
This commit is contained in:
parent
9b352582a3
commit
eb198f7c4f
@ -2,6 +2,8 @@
|
||||
# Copyright (C) 2017-2019 by BDE ENS Paris-Saclay
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import os
|
||||
|
||||
# Needed to filter which host are trusted
|
||||
ALLOWED_HOSTS = ['med.crans.org']
|
||||
|
||||
@ -30,12 +32,11 @@ SECRET_KEY = 'CHANGE ME !!!'
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'club-med',
|
||||
'USER': 'club-med',
|
||||
'PASSWORD': 'CHANGE ME !!!',
|
||||
'HOST': 'localhost',
|
||||
},
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user