#27120: Log message text in PostgreSQL _clone_test_db() refers incorrectly to
alias
----------------------------------------------+--------------------
Reporter: cjerdonek | Owner: nobody
Type: Uncategorized | Status: new
Component: Database layer (models, ORM) | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------------------+--------------------
Inside the PostgreSQL backend's creation.py, the text of a log message
doesn't seem quite right (here is a
[https://github.com/django/django/blob/a3abbe1fcb10e9ed4502c22748eb825170f41f23/django/db/backends/postgresql/creation.py#L49
link to the code]):
{{{#!python
if verbosity >= 1:
print("Destroying old test database for alias %s..." % (
self._get_database_display_str(verbosity, target_database_name),
))
}}}
The text refers to the "alias", but the database name is what is included
in the message.
--
Ticket URL: <https://code.djangoproject.com/ticket/27120>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.01a4f33d0f30e67efb05ec96298a9a21%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.