Re: Changing INSTALLED_APPS before syncdb on the fly

2012-07-04 Thread charettes
This list is for Django development only, please refer to the django-user list to get support in the future. Take a look at database routers and the `allow_syncdb`[1] method to achieve that. Simon [1] https://docs.djangoproject.com/en/1.4/topics/db/multi-db/#allow_syncdb Le mercredi 4 juillet

Changing INSTALLED_APPS before syncdb on the fly

2012-07-04 Thread Bernardo P.
Hello, I have the following scenario. I have multiple tenants on different databases, all sharing the same code base. Everytime there is a change on the models, I call south's migrate on each of the databases via a single command migrate_all_databases (which calls south's migrate and django's