Commit e328fdd7 authored by Raphaël Hertzog's avatar Raphaël Hertzog

settings: use getpass.getuser() to find out username

This one should work in a docker container without any controlling
parent e44094ca
......@@ -2,13 +2,13 @@
Defaults to unix socket with user auth.
import os
import getpass
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'distro-tracker',
'USER': os.getlogin(),
'USER': getpass.getuser(),
'HOST': '',
'PORT': '',
Markdown is supported
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