From 6211c547f7914a6720ae500e8c442fa107c80808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 10 Feb 2015 10:08:39 +0100 Subject: [PATCH] tenant: add "create super user" to example commands --- entrouvert/djommon/multitenant/README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrouvert/djommon/multitenant/README b/entrouvert/djommon/multitenant/README index fba7ce6..fb2b176 100644 --- a/entrouvert/djommon/multitenant/README +++ b/entrouvert/djommon/multitenant/README @@ -88,7 +88,8 @@ Create a tenant: manage.py create_tenant www.example.net Migration of all tenants: manage.py migrate_schemas - +Add a super user to tenant: + manage.py tenant_command createsuperuser --domain www.example.net Tenants are created in TENANT_BASE directory, for example : /var/lib/project/tenants/www.example.net/