Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
9c5f6af5
Commit
9c5f6af5
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippisite/hub16_settings.py
+13
-3
13 additions, 3 deletions
ippisite/ippisite/hub16_settings.py
with
13 additions
and
3 deletions
ippisite/ippisite/hub16_settings.py
+
13
−
3
View file @
9c5f6af5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment