Docasny prechod na sqlite v PROD
This commit is contained in:
parent
9363ba2f08
commit
b14b92c5eb
1 changed files with 5 additions and 3 deletions
|
@ -22,9 +22,11 @@ ALLOWED_HOSTS = ['mam.mff.cuni.cz']
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
'NAME': 'mamweb',
|
'NAME': os.path.join(BASE_DIR, 'db-prod-temp.sqlite3'),
|
||||||
'USER': 'mamweb',
|
# 'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||||
|
# 'NAME': 'mam-prod',
|
||||||
|
# 'USER': 'mam',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue