Projet

Général

Profil

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

root / entrouvert @ ccec1ff4

Nom Taille Révision Âge Auteur Commentaire
  djommon ccec1ff4 plus de 9 ans Benjamin Dauvergne Import django-tenant-schemas commands to adapt ...
  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
ccec1ff4 12 septembre 2014 12:02 Benjamin Dauvergne

Import django-tenant-schemas commands to adapt them to our way of managing tenants

refs #5106

e8304bf1 12 septembre 2014 12:02 Benjamin Dauvergne

Make tenant model non savable

refs #5106

4cea64a7 12 septembre 2014 12:02 Benjamin Dauvergne

Remove create-tenant command

refs #5106

aae80ef0 12 septembre 2014 12:02 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 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

Voir les révisions

Formats disponibles : Atom