Project

General

Profile

Revision:

Revisions

# Date Author Comment
43d6b99c 12 March 2015 06:55 PM Thomas Noël

remove multitenant, now in hobo (#6491)

1db4b242 10 February 2015 10:09 AM Frédéric Péters

tenant: do not duplicate --domain option in tenant_command (#6459)

6211c547 10 February 2015 10:09 AM Frédéric Péters

tenant: add "create super user" to example commands

dc463f1d 10 February 2015 10:09 AM Frédéric Péters

tenant: fix documentation reference to the manage.py command

e831c9d1 05 February 2015 06:37 PM Thomas Noël

release 7.0.0

  • django 1.7 support
  • store tenant by hostname on filesystem
2ba6f6bf 05 February 2015 06:36 PM Thomas Noël

multitenant: update README

e75d0516 05 February 2015 05:04 PM Thomas Noël

multitenant: sync syncdb with upstream

964ebb51 05 February 2015 04:49 PM Thomas Noël

multitenant: sync_schemas disabled for django 1.7

7dcc12d8 05 February 2015 04:48 PM Thomas Noël

tenant: fix django 1.6 usage (missing init.py)

01a055c6 05 February 2015 04:10 PM Thomas Noël

result of tenant.create_schema is undefined

ad0757e7 05 February 2015 04:06 PM Thomas Noël

remove useless get_tenant_by_domain command (#6398)

c1206294 05 February 2015 03:53 PM Thomas Noël

renamed create_schema to create_schemas

c298e1d4 05 February 2015 03:50 PM Thomas Noël

migrate: disable if django 1.7 (#6388)

eaac238e 05 February 2015 02:34 PM Thomas Noël

multitenant: use self.schema_name in SyncCommon (#6420)

bb762ce4 03 February 2015 05:35 PM Thomas Noël

tenants in TENANT_BASE/hostname (#6398)

1f642209 03 February 2015 05:34 PM Thomas Noël

migrate_schemas: use django 1.7 if available (#6388)

c1f66c77 26 January 2015 07:01 PM Serghei Mihai

tenant object passed to context manager.
"deploy tenant" method should be called with three parameters

Closes #6340

d2ffb5af 23 January 2015 06:50 PM Benjamin Dauvergne

Add a generic command to deploy service tenants from hobo (#6340)

It must be overloaded by applications.

1b18c2d9 20 November 2014 10:08 AM Jérôme Schneider

middleware: PythonSettingsMiddleware overload FileBasedTenantSettingBaseMiddleware and not JSONSettingsMiddleware

Closes #5972

9c67cb92 05 November 2014 01:37 PM Frédéric Péters

versions: add hobo and django-cmsplugin-blurp as projects of interest (#5878)

cd1fa561 24 October 2014 04:36 PM Thomas Noël

add safemigrate_schemas command (#5791)

3a139634 24 October 2014 04:06 PM Thomas Noël

sync_schemas: notice syncdb before doing it (fix)

87131a80 23 October 2014 08:29 PM Thomas Noël

move safemigrate in entrouvert.djommon app (#5781)

entrouvert.djommon.safemigrate app was just superfluous.

bf1da717 23 October 2014 08:23 PM Thomas Noël

improve safemigrate command (#5781)

better readability, handle verbosity, prepare for safemigrate_schema

803fa500 22 October 2014 03:38 PM Thomas Noël

release 6.2.0

60ab23dd 22 October 2014 03:27 PM Thomas Noël

add safemigrate command (#5781)

manage.py "safely" migrate a projet :
  • syncdb
  • for each app installed, with migrations available but never migrated:
    migrate --fake <app> 0001
  • migrate
7e82bd8e 17 October 2014 06:08 PM Jérôme Schneider

multitenant: add a command to create tenant(s) by hostname

Closes #5759

ce71993c 18 September 2014 02:26 PM Benjamin Dauvergne

In management commands of multitenant app rename variable schema_name as domain

c370a248 15 September 2014 09:25 AM Benjamin Dauvergne

Add tenant based storage handler (fixes #5501)

To use it, add this to your settings.py:

DEFAULT_FILE_STORAGE = 'entrouvert.djommon.multitenant.storage.TenantFileSystemStorage'
b7f756de 12 September 2014 12:02 PM Benjamin Dauvergne

Add tests on multitenants features (fixes #5106)

fbed23e8 12 September 2014 12:02 PM Benjamin Dauvergne

Add command list_tenants (fixes #5044)

refs #5106

5c1d1ad6 12 September 2014 12:02 PM Benjamin Dauvergne

Add command get_tenant_by_domain

refs #5106

3afe385b 12 September 2014 12:02 PM Benjamin Dauvergne

Add command to create missing tenant schemas

refs #5106

ccec1ff4 12 September 2014 12:02 PM Benjamin Dauvergne

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

refs #5106

e8304bf1 12 September 2014 12:02 PM Benjamin Dauvergne

Make tenant model non savable

refs #5106

4cea64a7 12 September 2014 12:02 PM Benjamin Dauvergne

Remove create-tenant command

refs #5106

aae80ef0 12 September 2014 12:02 PM 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 September 2014 12:02 PM 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 September 2014 12:02 PM 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 September 2014 12:02 PM Benjamin Dauvergne

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

Remove dead import on tenant_schemas.utils

refs #5106

1ff96ba5 30 July 2014 04:34 PM Benjamin Dauvergne

debian/control: depends on python-pkg-resources and recommends python-django

fixes #5200

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

bump release to 6.1.0

03bce4e0 25 April 2014 03:53 PM Benjamin Dauvergne

add more entrouvert python packages to VersionMiddleware

3a32915b 25 April 2014 02:13 PM Frédéric Péters

add missing dependency on python-pkg-resources

1d6a0108 23 April 2014 09:50 AM Serghei Mihai

readme updated

6ec2e241 27 March 2014 05:06 PM Benjamin Dauvergne

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

ddb02348 27 March 2014 05:06 PM Benjamin Dauvergne

djommon: add JSON serializer supporting natural primary keys

fd48a58c 16 March 2014 04:47 PM Thomas Noël

multitenant: little fixes in models.py

(1-50/123) Per page: 25, 50, 100, 500

Also available in: Atom