#36505: Allow overriding default database with a `db.override` contextmanager
-------------------------------------+-------------------------------------
Reporter: rockisch | Owner: (none)
Type: New feature | Status: new
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: database router | Triage Stage:
contextmanager | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by rockisch):
* summary: Allow overriding default database in contextmanager => Allow
overriding default database with a `db.override` contextmanager
--
Ticket URL: <
https://code.djangoproject.com/ticket/36505#comment:1>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.