Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

root / entrouvert @ e8304bf1

Name Size Revision Age Author Comment
  djommon e8304bf1 about 10 years Benjamin Dauvergne Make tenant model non savable refs #5106
  logging 85fba042 over 11 years Benjamin Dauvergne logging: add a decorator to log timing of funct...
  wsgi 698c4ef1 over 10 years Jérôme Schneider middleware: match url /__version__ *or* /__vers...
__init__.py 22 Bytes 86a1ba99 over 10 years Benjamin Dauvergne bump release to 6.1.0

Latest revisions

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

03bce4e0 25 April 2014 03:53 PM Benjamin Dauvergne

add more entrouvert python packages to VersionMiddleware

View revisions

Also available in: Atom