django-db-multitenant
django-db-multitenant copied to clipboard
Remove line that sets KEY_PREFIX inside of update_cache_from_env.
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).