Commit Graph

28 Commits

Author SHA1 Message Date
Valentin Deniaud cebdcf5bbf misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 14:49:55 +02:00
Benjamin Dauvergne 157a69fab6 misc: fix warning about deprecated connection.get_tenant() (#73294)
gitea-wip/hobo/pipeline/pr-main This commit looks good Details
2023-01-12 12:04:49 +01:00
Valentin Deniaud a107b7ef0e misc: apply pyupgrade (#69708) 2022-09-29 15:23:49 +02:00
Emmanuel Cazenave 8cba72a818 multitenant: print ignored commands in standard verbosity mode (#57528) 2022-08-02 21:24:49 +02:00
Pierre Ducroquet 71fd12f260 tenant_command: don't close sql sessions after each tenant (#65388) 2022-05-18 16:50:09 +02:00
Frédéric Péters 9877b65265 misc: remove usage of django.utils.six (#63684) 2022-04-15 18:28:51 +02:00
Emmanuel Cazenave d4123343d8 multitenant: improve cron messages (#57526) 2022-01-28 13:19:36 +01:00
Emmanuel Cazenave b915308d74 multitenant: use TENANT_DISABLE_CRON_JOBS to disable cron for a specific tenant (#57527) 2021-11-02 13:55:42 +01:00
Emmanuel Cazenave f9de8f6f6d multitenant: enable DISABLE_CRON_JOBS for a specific tenant (#56595) 2021-09-13 16:26:22 +02:00
Frédéric Péters 872f39774a trivial: apply black 2021-05-14 18:40:09 +02:00
Benjamin Dauvergne e311e2611a multitenant: prevent repeating migrations and system checks (#46561) 2020-09-11 09:31:55 +02:00
Frédéric Péters 90f44a85eb misc: remove backward compatibility with django < 1.11 (#36430) 2019-10-01 08:38:01 +02:00
Benjamin Dauvergne 11c79a9770 tenant_command: convert exception to UTF-8 (#30559) 2019-07-15 22:49:48 +02:00
Frédéric Péters 9dc099c6a3 multitenant: fix django 1.8 compatibility code (bis) (#28039) 2018-11-16 08:56:45 +01:00
Frédéric Péters e63c39bd9d multitenant: fix django 1.8 compatibility code (#28039) 2018-11-16 08:35:50 +01:00
Frédéric Péters c192ea99a7 management: backport django 1.8 compatibility code (#28039) 2018-11-15 23:25:26 +01:00
Frédéric Péters 7e9287ac48 multitenant: don't abort --all-tenants on first failing tenant (#28039) 2018-11-15 15:19:42 +01:00
Frédéric Péters f5a58b2472 multitenant: fix verbosity check 2018-08-17 09:14:22 +02:00
Frédéric Péters 68de10779d misc: display tenant names when using --all-tenants in verbose mode (#17459) 2018-08-16 13:59:39 +02:00
Frédéric Péters d432df9ff5 general: add possibility to skip all cron jobs (#15470)
This is useful for load balancing as jobs should only be run on one
host.

Original was amended with a condition on "--all-tenants" and help messages.

Signed-off-by: Christophe Siraut <csiraut@entrouvert.com>
2018-04-19 14:32:00 +02:00
Benjamin Dauvergne 082efaaa91 multitenant: add a value to Command.args for tenant_command (#15550)
Without it tenant_command cannot be called with call_command().
2017-05-17 12:09:02 +02:00
Frédéric Péters 4b75b081f6 multitenant: sync commands with latest django-tenant-schemas (#10379) 2016-03-22 23:30:41 +01:00
Benjamin Dauvergne 474df92c0a add option --all-tenants to tenant_command (fixes #8811) 2015-10-29 11:14:51 +01:00
Serghei Mihai 633fb85e4e multitenant: add domain option to tenant_command (#8513)
Remove 'schema_name' option.
2015-10-05 13:34:43 +02:00
Benjamin Dauvergne 137bbe1eae multitenant: import Django 1.7 compatibility fix from django-tenant-schemas on tenant_command (fixes #8189) 2015-09-07 15:56:28 +02:00
Frédéric Péters ec5a9149ec multitenant: update references from entrouvert.djommon to hobo 2015-02-11 11:06:26 +01:00
Frédéric Péters fa79801a8f tenant: do not duplicate --domain option in tenant_command (#6459) 2015-02-11 11:06:26 +01:00
Benjamin Dauvergne b9bdb8d833 Import django-tenant-schemas commands to adapt them to our way of managing tenants
refs #5106
2015-02-11 11:06:25 +01:00