Skip to content

Commit

Permalink
Merge pull request #288 from shabda/patch-1
Browse files Browse the repository at this point in the history
optimize docs for readability
  • Loading branch information
bernardopires committed Oct 3, 2015
2 parents 77c9176 + 1e075ef commit 376746f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ To make use of shared and tenant-specific applications, there are two settings c

.. code-block:: python
from collections import OrderedDict
SHARED_APPS = (
'tenant_schemas', # mandatory
'customers', # you must list the app where your tenant model resides in
Expand All @@ -99,7 +98,7 @@ To make use of shared and tenant-specific applications, there are two settings c
'myapp.houses',
)
INSTALLED_APPS = list(OrderedDict.fromkeys(SHARED_APPS + TENANT_APPS))
INSTALLED_APPS = list(SHARED_APPS) + [app for app in TENANT_APPS if app not in SHARED_APPS]
You also have to set where your tenant model is.

Expand Down

0 comments on commit 376746f

Please sign in to comment.