Revert back dev configuration
This commit is contained in:
parent
d24fcd7d86
commit
c18fb883cc
1 changed files with 2 additions and 12 deletions
|
@ -17,20 +17,10 @@ BASE_URL = 'http://localhost:8000'
|
||||||
|
|
||||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||||
|
|
||||||
#DATABASES = {
|
|
||||||
# 'default': {
|
|
||||||
# 'ENGINE': 'django.db.backends.sqlite3',
|
|
||||||
# 'NAME': 'publichealth-dev.sqlite3',
|
|
||||||
# }
|
|
||||||
#}
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
'NAME': 'publichealth',
|
'NAME': 'publichealth-dev.sqlite3',
|
||||||
'CONN_MAX_AGE': 600, # number of seconds database connections should persist for
|
|
||||||
|
|
||||||
# User, host and port can be configured by the PGUSER, PGHOST and
|
|
||||||
# PGPORT environment variables (these get picked up by libpq).
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue