Projet

Général

Profil

Statistiques
| Branche: | Tag: | Révision:

root / entrouvert @ ec0613c1

Nom Taille Révision Âge Auteur Commentaire
  djommon ec0613c1 plus de 9 ans Benjamin Dauvergne Add middleware to load settings from a JSON fil...
  logging 85fba042 presque 11 ans Benjamin Dauvergne logging: add a decorator to log timing of funct...
  wsgi 698c4ef1 presque 10 ans Jérôme Schneider middleware: match url /__version__ *or* /__vers...
__init__.py 22 octets 86a1ba99 presque 10 ans Benjamin Dauvergne bump release to 6.1.0

Dernières révisions

# Date Auteur Commentaire
ec0613c1 12 septembre 2014 12:02 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 septembre 2014 12:02 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 septembre 2014 12:02 Benjamin Dauvergne

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

refs #5106

e4332b43 12 septembre 2014 12:02 Benjamin Dauvergne

Remove dead import on tenant_schemas.utils

refs #5106

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

middleware: match url /__version__ or /__version__/

86a1ba99 09 mai 2014 14:31 Benjamin Dauvergne

bump release to 6.1.0

03bce4e0 25 avril 2014 15:53 Benjamin Dauvergne

add more entrouvert python packages to VersionMiddleware

1d6a0108 23 avril 2014 09:50 Serghei Mihai

readme updated

6ec2e241 27 mars 2014 17:06 Benjamin Dauvergne

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

ddb02348 27 mars 2014 17:06 Benjamin Dauvergne

djommon: add JSON serializer supporting natural primary keys

Voir les révisions

Formats disponibles : Atom