the password of pgsql is a secret

This commit is contained in:
Pierre-antoine Comby 2020-01-27 21:23:40 +00:00
parent a39cb56e0d
commit 0b8eee6da9
2 changed files with 6 additions and 6 deletions

View File

@ -11,11 +11,11 @@
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql', 'ENGINE': 'django.db.backends.postgresql',
'NAME': 'mydatabase', 'NAME': 'note_db',
'USER': 'mydatabaseuser', 'USER': 'note',
'PASSWORD': 'mypassword', 'PASSWORD': 'update_in_secrets.py',
'HOST': '127.0.0.1', 'HOST': '127.0.0.1',
'PORT': '5432', 'PORT': '',
} }
} }

View File

@ -1,2 +1,2 @@
DATABASE['default']['PASSWORD'] ='CHANGE_ME'
SECRET_KEY = 'CHANGE_ME_IN_LOCAL_SETTINGS!' SECRET_KEY = 'CHANGE_ME'