Skip to content
Snippets Groups Projects
Commit 9c5f6af5 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

set db backend to postgreSQL in production

Former-commit-id: 349fa6ec3df49fd6c55034dd3a4ce2822e7ceabf
parent 218f4031
No related branches found
No related tags found
No related merge requests found
......@@ -90,14 +90,24 @@ WSGI_APPLICATION = 'ippisite.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
#DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'hub16_db.sqlite3'),
# }
#}
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'hub16_db.sqlite3'),
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'ippidb',
'USER': 'ippidb',
'PASSWORD': 'LeroyMerlin',
'HOST': 'localhost',
'PORT': '',
}
}
# Password validation
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment