Skip to content

Commit

Permalink
Fix database config error
Browse files Browse the repository at this point in the history
  • Loading branch information
Svetlitski committed Feb 19, 2020
1 parent 88292b4 commit 5c3a333
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions csm_web/csm_web/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,15 @@
}
}
else:
DATABASES["pg"] = {
"ENGINE": "django.db.backends.postgresql_psycopg2",
"NAME": "csm_web",
"USER": "csm_web",
"PASSWORD": "",
"HOST": "localhost",
"PORT": "",
DATABASES = {
"pg": {
"ENGINE": "django.db.backends.postgresql_psycopg2",
"NAME": "csm_web",
"USER": "csm_web",
"PASSWORD": "",
"HOST": "localhost",
"PORT": "",
}
}


Expand Down

0 comments on commit 5c3a333

Please sign in to comment.