From 6a6dad495f9e2d85591ee24633fe9786f6af9ff6 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 4 Feb 2014 15:23:11 +0100 Subject: [PATCH] multitenant: fix instructions on the settings in the README --- hobo/multitenant/README | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/hobo/multitenant/README b/hobo/multitenant/README index 1587104..6bf5b69 100644 --- a/hobo/multitenant/README +++ b/hobo/multitenant/README @@ -2,7 +2,7 @@ Multitenant ----------- An application for making a Django application multitenant for Entr'ouvert -custsomers. +customers. Install ------- @@ -37,8 +37,20 @@ Define the shared application: SHARED_APPS = ( 'tenant_schemas', 'entrouvert.djommon.multitenant', + # those are needed for the public apps to work + # add also any application needed by the public app + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', + 'django.contrib.sites', ) + TENANT_APPS = INSTALLED_APPS + + INSTALLED_APPS += ('tenant_schemas', 'entrouvert.djommon.multitenant') + Use multitenant database engine: DATABASES = {