How can I tell manage.py to operate in a specific PostgreSQL schema?
My database is separated into multiple schema, one per client/deployment, to keep data separate.
However, it seems that Django does not really support schemas very well. How can I generate my models, etc for a specific schema with manage.py?
Here’s what worked in the end:
I wrote a new manage.py command that was a wrapper for the commands I wanted to be schema-aware (syncdb, migrate, changepassword), and select the schema manually by: