bernardopires / django-tenant-schemas

Tenant support for Django using PostgreSQL schemas.
https://django-tenant-schemas.readthedocs.org/en/latest/
MIT License
1.46k stars 423 forks source link

./manage.py testserver does not work #494

Open renegadeofunk opened 7 years ago

renegadeofunk commented 7 years ago

Hello,

Django's implementation of testserver does a 'migrate' which of course doesn't work with django-tenant-schemas since we're supposed to be doing 'migrate_schemas'. It gives that error message "CommandError: migrate has been disabled, for database 'default'. Use migrate_schemas instead. Please read the documentation if you don't know why you shouldn't call migrate directly!"

Is there a known workaround for this?

Thanks for the great app!