#36112: Subclasses of BaseDatabaseOperations should fall back to
super().last_executed_query() instead of returning None
--------------------------------------+------------------------------------
Reporter: Jacob Walls | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):
* owner: Tim Graham => (none)
* severity: Release blocker => Normal
* status: assigned => new
* summary:
DatabaseOperations.format_debug_sql() crashes when query fails to
execute on some backends
=>
Subclasses of BaseDatabaseOperations should fall back to
super().last_executed_query() instead of returning None
* type: Bug => Cleanup/optimization
Comment:
That sounds like the right course of action to me.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36112#comment:9>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.