django-db-multitenant icon indicating copy to clipboard operation
django-db-multitenant copied to clipboard

Remove line that sets KEY_PREFIX inside of update_cache_from_env.

Open crolfe opened this issue 6 years ago • 0 comments

KEY_PREFIX is currently only set/overidden in the update_cache_from_env helper function (but not in middleware.py), which would makes it possible to write to a key (e.g. in a management command) that we can never read from (e.g. in a web request).

crolfe avatar Feb 08 '19 23:02 crolfe