Edunext Open edx extensions tenant.
Project description
EOX tenant
EOX tenant migration notes
Migrating from 0.* version to 1.0.0
From version 1.0.0, middlewares RedirectionsMiddleware and PathRedirectionMiddleware are not longer supported in this plugin. These middlewares were moved to the eox-core plugin here. From this, you can have three cases:
You have already installed eox-core alongside eox-tenant. In this case you need to:
Upgrade eox-core to version 2.0.0 (previous releases are not compatible with eox-tenant 1.0.0)
Run the plugin migrations as indicated below: .. code-block:
$ python manage.py lms migrate eox_tenant --settings=<your app settings> $ python manage.py lms migrate eox_core --fake-initial --settings=<your app settings>
You only have installed eox-tenant and you want to keep the functionality the aforementioned middlewares offer. You need to:
Install eox-core version 2.0.0 as edx-platform requirement. You can use Ansible to add this plugin as an extra requirement.
Run the plugin migrations as indicated below: .. code-block:
$ python manage.py lms migrate eox_tenant --settings=<your app settings> $ python manage.py lms migrate eox_core --fake-initial --settings=<your app settings>
In the case your are not using the redirection middlewares, and only have eox-tenant installed, you can simply apply the database migrations for the eox-tenant plugin:
$ python manage.py lms migrate eox_tenant --settings=<your app settings>
The table corresponding to the Redirection model will not be deleted but it will be discarded from the Django state
Commands
Synchronize Organizations
This comand will synchronize the course_org_filter values in lms_configs(TenantConfig model) or values(Microsite model) with the TenantOrganization registers, if the organization does not existe, it will be create, otherwise it will be add to the organizations model field.
./manage.py lms synchronize_organizations # only for TenantConfig and Microsite
./manage.py lms synchronize_organizations --model TenantConfig # only for TenantConfig
./manage.py lms synchronize_organizations --model Microsite # only for Microsite
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for eox_tenant-3.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c7c0b6a1382b0550c0ef339ace83a8c466ebe114868a03ccd8b4c8f11e1544 |
|
MD5 | 1479fdc1131f083ced5a18da741092f2 |
|
BLAKE2b-256 | ab67389e33a0b972bd6ea5c36ae18969b1949e2e7f5468bc8413b36dfbdf5953 |