Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

root / entrouvert @ ec0613c1

Name Size Revision Age Author Comment
  djommon ec0613c1 over 10 years Benjamin Dauvergne (en congé) Add middleware to load settings from a JSON fil...
  logging 85fba042 over 11 years Benjamin Dauvergne (en congé) 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 almost 11 years Benjamin Dauvergne (en congé) bump release to 6.1.0

Latest revisions

# Date Author Comment
ec0613c1 12 September 2014 12:02 PM Benjamin Dauvergne (en congé)

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 (en congé)

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 (en congé)

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 (en congé)

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 (en congé)

bump release to 6.1.0

03bce4e0 25 April 2014 03:53 PM Benjamin Dauvergne (en congé)

add more entrouvert python packages to VersionMiddleware

1d6a0108 23 April 2014 09:50 AM Serghei Mihai

readme updated

6ec2e241 27 March 2014 05:06 PM Benjamin Dauvergne (en congé)

djommon/serializers/json: fix missing import and not handled case of new models

ddb02348 27 March 2014 05:06 PM Benjamin Dauvergne (en congé)

djommon: add JSON serializer supporting natural primary keys

View revisions

Also available in: Atom