- django-tenant-schemas
- core: core settings
- Grappelli admin interface
- Setup tenants
- [ ]tenant specific django templates
- Never place
'django.contrib.auth'
in shared_apps instead place at tenant_app
- public shared
- tenant
# Domain Name schema Organization Name
--------------------------------------------------------
1 nepexgroup.com website Nepex Group
2 client1.nepexgroup.com client1 Client1 Organization
3 client2.nepexgroup.com client2 Client2 Organization
schema user password
-----------------------
website admin admin
client1 client1 admin
client2 client2 admin
- Dump data
./manage.py dumpdata --exclude auth.permission --exclude contenttypes > db.json
./manage.py loaddata db.json
django-tenant-schemas
need to be set up. Also exclude django-tenant-schema's data before dump. Loaddata does not support it because it need migration.
https://github.com/vimm0/auto-script#django-tenant
- [feature not supported]