citusdata / django-multitenant

Python/Django support for distributed multi-tenant databases like Postgres+Citus
MIT License
707 stars 116 forks source link

Middleware docs and implementation inconsistent #187

Open lfriel opened 1 year ago

lfriel commented 1 year ago

The advice added to the docs from #173 is out of sync with the implementation of MultitenantMiddleware in django_multitenant/middlewares.py. Similarly https://django-multitenant.readthedocs.io/en/latest/migration_mt_django.html#automating-with-middleware is also out of sync right now. Is the advice from #173 the recommended approach and, if so, will these be updated at some point?