Révision 6211c547
Ajouté par Frédéric Péters il y a environ 9 ans
entrouvert/djommon/multitenant/README | ||
---|---|---|
88 | 88 |
manage.py create_tenant www.example.net |
89 | 89 |
Migration of all tenants: |
90 | 90 |
manage.py migrate_schemas |
91 |
|
|
91 |
Add a super user to tenant: |
|
92 |
manage.py tenant_command createsuperuser --domain www.example.net |
|
92 | 93 |
|
93 | 94 |
Tenants are created in TENANT_BASE directory, for example : |
94 | 95 |
/var/lib/project/tenants/www.example.net/ |
Formats disponibles : Unified diff
tenant: add "create super user" to example commands