multitenant: fix instructions on the settings in the README
This commit is contained in:
parent
4126c1f6f6
commit
6a6dad495f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue