NEMO-online-training
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 training 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
- in the configuration, you can specify the number of days to extend the access expiration date by using
- 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) andrecipients(list of email addresses oruserto send to the user) - in the subject and message, the following variables are available:
training_user: the user who is completing the trainingtraining: the training being completedrecord: the record of the training being completedaction: the action being performed (send email action)
- in the configuration, you can specify the email subject, message and recipients by using
- qualify the user on a tool
- in the configuration, you can specify the tool ids to qualify the user on by using
tool_ids(list of tool ids)
- in the configuration, you can specify the tool ids to qualify the user on by using
- grant physical access level to the user
- in the configuration, you can specify the access level to grant by using
physical_access_level_ids(list of physical access level ids)
- in the configuration, you can specify the access level to grant by using
Display options:
- set
NEMO_ONLINE_TRAINING_ADMIN_NAMEin settings.py to customize the admin section name. Default is "Online training" - set
NEMO_ONLINE_TRAINING_ADMIN_TRAINING_NAMEin settings.py to customize the training model admin name. Default is "Training" - set
NEMO_ONLINE_TRAINING_ADMIN_TRAINING_USER_NAMEin settings.py to customize the training user model admin name. Default is "Training User" - set
NEMO_ONLINE_TRAINING_ADMIN_TRAINING_RECORD_NAMEin settings.py to customize the training record model admin name. Default is "Training Record"
Tests
To run the tests:
python run_tests.py
Metadata
Release files for NEMO-online-training 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nemo_online_training-1.2.0.tar.gz | 42.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nemo_online_training-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 97.4 kB
Release files / nemo_online_training-1.2.0.tar.gz
| Download URL | nemo_online_training-1.2.0.tar.gz |
|---|---|
| Size | 42.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3ab53409659d51e2046ead4ccf5211e7918e2c221a3cb55adc809253f418bfd
|
|
BLAKE2b-256 checksum How to use checksums |
5f97dd77882370b18a2d17e7b0c3148cfc7f885ff006477362a88d1acac29270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / nemo_online_training-1.2.0-py3-none-any.whl
| Download URL | nemo_online_training-1.2.0-py3-none-any.whl |
|---|---|
| Size | 55.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
599869277d618dd18e97f658255382b5d4903fa427a26f04daa13ff1520761cf
|
|
BLAKE2b-256 checksum How to use checksums |
9e509b8583be0a8c90a9444936b356879f31ac79ec222a5d45b6f4de120a7c06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|