Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size Revision Age Author Comment
  entrouvert ccec1ff4 over 11 years Benjamin Dauvergne Import django-tenant-schemas commands to adapt ...
  tools 56c2f017 over 12 years Benjamin Dauvergne add tool script to check proper packaging of a ...
.gitignore 58 Bytes 73e94ded over 12 years Jérôme Schneider gitignore: add mo files
MANIFEST.in 154 Bytes 2eea590b about 12 years Benjamin Dauvergne add humantime locale files to MANIFEST.in
README 107 Bytes f9e8f623 over 12 years Benjamin Dauvergne add a README
setup.py 3.62 KB 3bee3bc1 almost 12 years Benjamin Dauvergne setup.py: remove dependency links

Latest revisions

# Date Author Comment
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

aae80ef0 12 September 2014 12:02 PM Benjamin Dauvergne

New TenantMiddleware which try to find tenants based on the filesystem

If path <settings.TENANT_BASE>/<hostname>/schema exists, read this file an build
tenant modle with Tenant(domain_url=<hostname>, schema_name=file(<path>).read()).

refs #5106

ec0613c1 12 September 2014 12:02 PM Benjamin Dauvergne

Add middleware to load settings from a JSON file based on the tenant

  • Loaded settings are cached based on the mtime of the setting file
  • JSON file path is <settings.TENANT_BASE>/<schema_name>/settings.json

refs #5106

392340cf 12 September 2014 12:02 PM Benjamin Dauvergne

In FileSystemLoader use the schema name instead of the domain name for building template path

Also add a templates/ suffix.

refs #5106

73b85f5d 12 September 2014 12:02 PM Benjamin Dauvergne

In FileSystemLoader rename settings from MULTITENANT_TEMPLATE_DIRS to TENANT_TEMPLATE_DIRS to unformize with other settings

refs #5106

e4332b43 12 September 2014 12:02 PM Benjamin Dauvergne

Remove dead import on tenant_schemas.utils

refs #5106

698c4ef1 24 June 2014 10:18 AM Jérôme Schneider

middleware: match url /__version__ or /__version__/

86a1ba99 09 May 2014 02:31 PM Benjamin Dauvergne

bump release to 6.1.0

View all revisions | View revisions

Also available in: Atom