Project

General

Profile

« Previous | Next » 

Revision c59fb59b

Added by Benjamin Dauvergne almost 12 years ago

multitenant: fix instructions on the settings in the README

View differences:

entrouvert/djommon/multitenant/README
2 2
-----------
3 3

  
4 4
An application for making a Django application multitenant for Entr'ouvert
5
custsomers.
5
customers.
6 6

  
7 7
Install
8 8
-------
......
37 37
    SHARED_APPS = (
38 38
        'tenant_schemas',
39 39
        'entrouvert.djommon.multitenant',
40
        # those are needed for the public apps to work
41
        # add also any application needed by the public app
42
        'django.contrib.auth',
43
        'django.contrib.contenttypes',
44
        'django.contrib.sessions',
45
        'django.contrib.messages',
46
        'django.contrib.staticfiles',
47
        'django.contrib.sites',
40 48
    )
41 49

  
50
    TENANT_APPS = INSTALLED_APPS
51

  
52
    INSTALLED_APPS += ('tenant_schemas', 'entrouvert.djommon.multitenant')
53

  
42 54
Use multitenant database engine:
43 55

  
44 56
    DATABASES = {

Also available in: Unified diff