mirror of https://gitlab.crans.org/bde/nk20
the password of pgsql is a secret
This commit is contained in:
parent
a39cb56e0d
commit
0b8eee6da9
|
@ -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': '',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
|
DATABASE['default']['PASSWORD'] ='CHANGE_ME'
|
||||||
SECRET_KEY = 'CHANGE_ME_IN_LOCAL_SETTINGS!'
|
SECRET_KEY = 'CHANGE_ME'
|
||||||
|
|
Loading…
Reference in New Issue