I create posgresql db user named 'user'. Password: django1234.
And I type the database info in settings.py.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'test',
'USER': 'user',
'PASSWORD': '1q2w3e',
'HOST': 'localhost',
'PORT': '5432',
}
}
The password does not match definitely. However, it can access the 'test DB' when I run the server, which means, I guess, that anyone can access my DB. What is the problem?
Thank you in advance.