Skip to main content

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:

  1. 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>
    1. 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>
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eox-tenant-3.3.6.tar.gz (56.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eox_tenant-3.3.6-py3-none-any.whl (85.7 kB view details)

Uploaded Python 3

File details

Details for the file eox-tenant-3.3.6.tar.gz.

File metadata

  • Download URL: eox-tenant-3.3.6.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.5.10

File hashes

Hashes for eox-tenant-3.3.6.tar.gz
Algorithm Hash digest
SHA256 ceb123873a2b376689e29f6d254350faac3952a918b9e32e71a73c9f61c7f92e
MD5 a2ae3e2e516a21c13999ef3e312950fa
BLAKE2b-256 9745953f0c7a019c4db3018f328e9879857847c3aa6420926d8c90ac92fa9db0

See more details on using hashes here.

File details

Details for the file eox_tenant-3.3.6-py3-none-any.whl.

File metadata

  • Download URL: eox_tenant-3.3.6-py3-none-any.whl
  • Upload date:
  • Size: 85.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.5.10

File hashes

Hashes for eox_tenant-3.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c3684b5ae59efc18e2a553e90358e729d604aeb175197e584fa395cb8eee73cb
MD5 eead831a4c59d413942f11dd01920398
BLAKE2b-256 7807101ab9305a0bbb305f684a26662288aaed62b4bbfee8768149e40a2e1682

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page