remove multitenant, now in hobo (#6491)
tenant: do not duplicate --domain option in tenant_command (#6459)
tenant: add "create super user" to example commands
tenant: fix documentation reference to the manage.py command
release 7.0.0
multitenant: update README
multitenant: sync syncdb with upstream
multitenant: sync_schemas disabled for django 1.7
tenant: fix django 1.6 usage (missing init.py)
result of tenant.create_schema is undefined
remove useless get_tenant_by_domain command (#6398)
renamed create_schema to create_schemas
migrate: disable if django 1.7 (#6388)
multitenant: use self.schema_name in SyncCommon (#6420)
tenants in TENANT_BASE/hostname (#6398)
migrate_schemas: use django 1.7 if available (#6388)
tenant object passed to context manager."deploy tenant" method should be called with three parameters
Closes #6340
Add a generic command to deploy service tenants from hobo (#6340)
It must be overloaded by applications.
middleware: PythonSettingsMiddleware overload FileBasedTenantSettingBaseMiddleware and not JSONSettingsMiddleware
Closes #5972
versions: add hobo and django-cmsplugin-blurp as projects of interest (#5878)
add safemigrate_schemas command (#5791)
sync_schemas: notice syncdb before doing it (fix)
move safemigrate in entrouvert.djommon app (#5781)
entrouvert.djommon.safemigrate app was just superfluous.
improve safemigrate command (#5781)
better readability, handle verbosity, prepare for safemigrate_schema
release 6.2.0
add safemigrate command (#5781)
multitenant: add a command to create tenant(s) by hostname
Closes #5759
In management commands of multitenant app rename variable schema_name as domain
Add tenant based storage handler (fixes #5501)
To use it, add this to your settings.py:
DEFAULT_FILE_STORAGE = 'entrouvert.djommon.multitenant.storage.TenantFileSystemStorage'
Add tests on multitenants features (fixes #5106)
Add command list_tenants (fixes #5044)
refs #5106
Add command get_tenant_by_domain
Add command to create missing tenant schemas
Import django-tenant-schemas commands to adapt them to our way of managing tenants
Make tenant model non savable
Remove create-tenant command
New TenantMiddleware which try to find tenants based on the filesystem
If path <settings.TENANT_BASE>/<hostname>/schema exists, read this file an buildtenant modle with Tenant(domain_url=<hostname>, schema_name=file(<path>).read()).
Add middleware to load settings from a JSON file based on the tenant
In FileSystemLoader use the schema name instead of the domain name for building template path
Also add a templates/ suffix.
In FileSystemLoader rename settings from MULTITENANT_TEMPLATE_DIRS to TENANT_TEMPLATE_DIRS to unformize with other settings
Remove dead import on tenant_schemas.utils
debian/control: depends on python-pkg-resources and recommends python-django
fixes #5200
middleware: match url /__version__ or /__version__/
bump release to 6.1.0
add more entrouvert python packages to VersionMiddleware
add missing dependency on python-pkg-resources
readme updated
djommon/serializers/json: fix missing import and not handled case of new models
djommon: add JSON serializer supporting natural primary keys
multitenant: little fixes in models.py
Formats disponibles : Atom