Django-lti-tool transforms your Django installation into a LTI 1.3 tool provider.
It is tightly integrated into Django and maps LTI entities (platforms, contexts, resources, users) into Django's ORM. This decouples the platform (e.g. Moodle) and the tool. Students are able to work on their assignments independently from the platform. Grades can be transferred to the platform afterwards.
Specification | Status |
---|---|
LTI 1.3 (Core) | Yes |
Assignment and Grade Service | Yes |
Deep Linking | WIP |
Submission Review Service | No |
Names and Role Provisioning Services | No |
After setting up Django, install django-lti-tool using pip
:
pip install git+https://github.com/christophse/django-lti-tool.git
Prepare your settings.py
:
- Add
lti_tool
toINSTALLED_APPS
. - Add
lti_tool.middleware.LTIMiddleware
toMIDDLEWARE
prior toCsrfViewMiddleware
. - Add
lti_tool.auth.LTIBackend
toAUTHENTICATION_BACKENDS
.
Initialize the ORM:
python manage.py makemigrations lti_tool && python manage.py migrate
Django-lti-tool was initially developed at Open Distributed Systems Chair.