[Django] #36059: Django shows DB credentials like passwords when DEBUG is true and DB is shut down

23 views
Skip to first unread message

Django

unread,
Jan 3, 2025, 5:41:26 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Type: Bug
Status: new | Component: Database
| layer (models, ORM)
Version: 4.2 | Severity: Normal
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
Django version: 4.2.9
--
Ticket URL: <https://code.djangoproject.com/ticket/36059>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 3, 2025, 5:43:35 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by olimboy):

* Attachment "1.png" added.

Django

unread,
Jan 3, 2025, 5:44:18 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by olimboy):

* Attachment "1.2.png" added.

Django

unread,
Jan 3, 2025, 5:44:19 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by olimboy):

* Attachment "2.png" added.

Django

unread,
Jan 3, 2025, 5:44:37 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by olimboy):

* Attachment "1.png" removed.

Django

unread,
Jan 3, 2025, 5:44:46 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by olimboy):

* Attachment "1.2.png" removed.

Django

unread,
Jan 3, 2025, 5:44:50 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by olimboy):

* Attachment "2.png" removed.

Django

unread,
Jan 3, 2025, 5:45:11 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by olimboy):

* Attachment "1.png" added.

Django

unread,
Jan 3, 2025, 5:46:09 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: olimboy | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by olimboy):

* Attachment "2.png" added.

Django

unread,
Jan 3, 2025, 8:28:50 AM1/3/25
to django-...@googlegroups.com
#36059: Django shows DB credentials like passwords when DEBUG is true and DB is
shut down
-------------------------------------+-------------------------------------
Reporter: Olimboy | Owner: (none)
Type: Bug | Status: closed
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: db, password, debug | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* resolution: => duplicate
* status: new => closed

Comment:

Thank you for the report, this looks like a duplicate/very similar to
#35930 and can be worked on as part of that ticket
--
Ticket URL: <https://code.djangoproject.com/ticket/36059#comment:1>
Reply all
Reply to author
Forward
0 new messages