python manage.py dbshell does not enter password from settings.py
|Reported by:||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When using "python manage.py dbshell" the password from settings.py is not entered for you.
In order to read the password from settings.py one must have access to settings.py, in which case there is no security reason to not enter the password for the user. If they have read access, it should be entered for them. This is not currently the case.
This issue surely extends to django-admin.py as well as manage.py, though I have not tested this directly.
Change History (7)
comment:2 Changed 5 years ago by
|Status:||closed → reopened|