db prod
This commit is contained in:
parent
46f451aea2
commit
46115bb3ce
@ -43,7 +43,6 @@ class TaskView(BaseView):
|
|||||||
user=self.request.user,
|
user=self.request.user,
|
||||||
language_id=int(self.request.POST["language"]),
|
language_id=int(self.request.POST["language"]),
|
||||||
set=self.set,
|
set=self.set,
|
||||||
extras=dict(),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def post_0(self):
|
def post_0(self):
|
||||||
|
@ -85,7 +85,7 @@ DATABASES = {
|
|||||||
"default": {
|
"default": {
|
||||||
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
||||||
"NAME": "sprint",
|
"NAME": "sprint",
|
||||||
"USER": "postgres" if DEBUG else "sprint",
|
"USER": "postgres",
|
||||||
"PASSWORD": os.getenv("DB_PASSWORD", "password"),
|
"PASSWORD": os.getenv("DB_PASSWORD", "password"),
|
||||||
"HOST": os.getenv("DB_HOST", "127.0.0.1"),
|
"HOST": os.getenv("DB_HOST", "127.0.0.1"),
|
||||||
"PORT": 5432,
|
"PORT": 5432,
|
||||||
|
Loading…
Reference in New Issue
Block a user