Skip to content

Releases: clearcare/django-multidb-router

use_slave context manager & decorator

23 Jun 20:48
Compare
Choose a tag to compare

Implements a 'use_slave' context manager and decorator that can be used in cases where the usual behavior would be to pin to master, such as when the request method is POST, but you know you're not doing any writing.