Projet

Général

Profil

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

root / entrouvert / djommon / multitenant @ ec0613c1

Nom Taille Révision Âge Auteur Commentaire
  management e62d56fc environ 10 ans Benjamin Dauvergne multitenenant extension
README 1,54 ko 1d6a0108 environ 10 ans Serghei Mihai readme updated
__init__.py 0 octets e62d56fc environ 10 ans Benjamin Dauvergne multitenenant extension
middleware.py 4,68 ko ec0613c1 plus de 9 ans Benjamin Dauvergne Add middleware to load settings from a JSON fil...
models.py 1,58 ko fd48a58c environ 10 ans Thomas Noël multitenant: little fixes in models.py
template_loader.py 4,9 ko 392340cf plus de 9 ans Benjamin Dauvergne In FileSystemLoader use the schema name instead...
tests.py 383 octets e62d56fc environ 10 ans Benjamin Dauvergne multitenenant extension
views.py 26 octets e62d56fc environ 10 ans Benjamin Dauvergne multitenenant extension

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

1d6a0108 23 avril 2014 09:50 Serghei Mihai

readme updated

fd48a58c 16 mars 2014 16:47 Thomas Noël

multitenant: little fixes in models.py

c59fb59b 04 février 2014 15:23 Benjamin Dauvergne

multitenant: fix instructions on the settings in the README

e62d56fc 04 février 2014 15:14 Benjamin Dauvergne

multitenenant extension

Voir les révisions

Formats disponibles : Atom