mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 13:34:53 +03:00
removed trailing comma
This commit is contained in:
parent
68c4fa5f4f
commit
209afd5c47
|
@ -39,7 +39,7 @@ def pingpost():
|
|||
pg_pass = ''
|
||||
|
||||
DATABASE_URL='postgres://{username}:{password}@postgres:5432/{username}'
|
||||
DATABASE_URL = DATABASE_URL.format(username=pg_user, password=pg_pass),
|
||||
DATABASE_URL = DATABASE_URL.format(username=pg_user, password=pg_pass)
|
||||
os.environ['DATABASE_URL'] = DATABASE_URL
|
||||
|
||||
conn = psycopg2.connect(DATABASE_URL, connect_timeout=3)
|
||||
|
|
Loading…
Reference in New Issue
Block a user