Skip to main content

Plugin for NEMO to allow users to complete online training even before they have a NEMO account

Project description

NEMO-online-training

Code style: black PyPI - Python Version PyPI Changelog

Plugin for NEMO to allow users to complete online training even before they have a NEMO account

Installation

python -m install nemo-online-training

in settings.py add to INSTALLED_APPS:

INSTALLED_APPS = [
    '...',
    'NEMO_online_training',
    '...'
]

Usage

Add online trainings in Administration -> Detailed administration -> Online trainings

For each training, you can optionally add an action to be performed when the user completes the training.

The following actions are available:

  • extend the user's access expiration date (if the user is already a NEMO user):
    • in the configuration, you can specify the number of days to extend the access expiration date by using extend_by_days
  • remove the training_required flag from the user
  • send an email
    • in the configuration, you can specify the email subject, message and recipients by using subject (django template syntax allowed), message (django template syntax allowed) and recipients (list of email addresses or user to send to the user)
    • in the subject and message, the following variables are available:
      • training_user: the user who is completing the training
      • training: the training being completed
      • record: the record of the training being completed
      • action: the action being performed (send email action)

Tests

To run the tests:

python run_tests.py

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

nemo_online_training-0.9.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

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

nemo_online_training-0.9.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file nemo_online_training-0.9.0.tar.gz.

File metadata

  • Download URL: nemo_online_training-0.9.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nemo_online_training-0.9.0.tar.gz
Algorithm Hash digest
SHA256 aa7f315150bfcf81b99d73695e535a187f2432bc41053e26d8f0aff9e76bfef6
MD5 4fa25739eab7ba4b2a071b0bd6f106bf
BLAKE2b-256 9bd764f9b1e43f0b3e0c9ad1bd068833c1102820f1000e1bd6cbc08bfd95c5c7

See more details on using hashes here.

File details

Details for the file nemo_online_training-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nemo_online_training-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ab0b143679cb800abd0c7fe57f8efa46d09ceb8cfe66d96d19022a356ed37d6
MD5 af6b77b0d2a71d6d5cdcce69cf32fc9f
BLAKE2b-256 e8692d5f4bdc67f3f5ca5458896b852f5ed7c35dab169ff53239381d3f07ec21

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