#36487: Database on commit error logging fails for partials
-------------------------------------+-------------------------------------
Reporter: Krishnaprasad MG | Owner:
| Krishnaprasad MG
Type: Bug | Status: assigned
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* has_patch: 0 => 1
* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
There is effectively a bug here as not all callable will have a
`__qualname__`. Maybe we could simply `name = getattr(func,
"__qualname__", func)` instead?
--
Ticket URL: <
https://code.djangoproject.com/ticket/36487#comment:1>