Plugin for NEMO to allow users to complete online training even before they have a NEMO account
Project description
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 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
- 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
Tests
To run the tests:
python run_tests.py
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nemo_online_training-0.9.1.tar.gz.
File metadata
- Download URL: nemo_online_training-0.9.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7316221c78e777674dea9a3e74d643a070f02d422a49eb6c3c323894905d6560
|
|
| MD5 |
bdf569ac94517dcd6537e3bd979a6b04
|
|
| BLAKE2b-256 |
d8587769e605e16e261ef86b2c33a1ee04a04e3583ee31b5985e8f4cb4157b86
|
File details
Details for the file nemo_online_training-0.9.1-py3-none-any.whl.
File metadata
- Download URL: nemo_online_training-0.9.1-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
432f0609282da5aceae2216ca36fd6c4c51787fcd557c39794dc5abb3c833ef3
|
|
| MD5 |
5a43cebd887647c4ce7c93904e66b4f8
|
|
| BLAKE2b-256 |
cb01b12d068c205c3b861d998cf885237b69b10f71dda0401ab4c505dffa8eb5
|