Project

General

Profile

Download (6.82 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
bb762ce4 03 February 2015 05:35 PM Thomas Noël

tenants in TENANT_BASE/hostname (#6398)

1b18c2d9 20 November 2014 10:08 AM Jérôme Schneider

middleware: PythonSettingsMiddleware overload FileBasedTenantSettingBaseMiddleware and not JSONSettingsMiddleware

Closes #5972

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

e62d56fc 04 February 2014 03:14 PM Benjamin Dauvergne

multitenenant extension