Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

root / entrouvert / djommon / multitenant @ 7e82bd8e

Name Size Revision Age Author Comment
  management 7e82bd8e over 9 years Jérôme Schneider multitenant: add a command to create tenant(s) ...
README 1.54 KB 1d6a0108 almost 10 years Serghei Mihai readme updated
__init__.py 0 Bytes e62d56fc about 10 years Benjamin Dauvergne multitenenant extension
middleware.py 6.82 KB aae80ef0 over 9 years Benjamin Dauvergne New TenantMiddleware which try to find tenants ...
models.py 292 Bytes e8304bf1 over 9 years Benjamin Dauvergne Make tenant model non savable refs #5106
storage.py 820 Bytes c370a248 over 9 years Benjamin Dauvergne Add tenant based storage handler (fixes #5501) ...
template_loader.py 4.9 KB 392340cf over 9 years Benjamin Dauvergne In FileSystemLoader use the schema name instead...
tests.py 4.84 KB c370a248 over 9 years Benjamin Dauvergne Add tenant based storage handler (fixes #5501) ...
views.py 26 Bytes e62d56fc about 10 years Benjamin Dauvergne multitenenant extension

Latest revisions

# Date Author Comment
7e82bd8e 17 October 2014 06:08 PM Jérôme Schneider

multitenant: add a command to create tenant(s) by hostname

Closes #5759

ce71993c 18 September 2014 02:26 PM Benjamin Dauvergne

In management commands of multitenant app rename variable schema_name as domain

c370a248 15 September 2014 09:25 AM Benjamin Dauvergne

Add tenant based storage handler (fixes #5501)

To use it, add this to your settings.py:

DEFAULT_FILE_STORAGE = 'entrouvert.djommon.multitenant.storage.TenantFileSystemStorage'
b7f756de 12 September 2014 12:02 PM Benjamin Dauvergne

Add tests on multitenants features (fixes #5106)

fbed23e8 12 September 2014 12:02 PM Benjamin Dauvergne

Add command list_tenants (fixes #5044)

refs #5106

5c1d1ad6 12 September 2014 12:02 PM Benjamin Dauvergne

Add command get_tenant_by_domain

refs #5106

3afe385b 12 September 2014 12:02 PM Benjamin Dauvergne

Add command to create missing tenant schemas

refs #5106

ccec1ff4 12 September 2014 12:02 PM Benjamin Dauvergne

Import django-tenant-schemas commands to adapt them to our way of managing tenants

refs #5106

e8304bf1 12 September 2014 12:02 PM Benjamin Dauvergne

Make tenant model non savable

refs #5106

4cea64a7 12 September 2014 12:02 PM Benjamin Dauvergne

Remove create-tenant command

refs #5106

View revisions

Also available in: Atom