1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +00:00

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 = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'mydatabase',
'USER': 'mydatabaseuser',
'PASSWORD': 'mypassword',
'NAME': 'note_db',
'USER': 'note',
'PASSWORD': 'update_in_secrets.py',
'HOST': '127.0.0.1',
'PORT': '5432',
'PORT': '',
}
}

View File

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