A Django application on which to build IMS BLTI Tool Providers
Project directory
Install django-blti in your project.
$ cd [project]
$ pip install django-blti
INSTALLED_APPS
'blti',
MIDDLEWARE_CLASSES
'django.middleware.common.CommonMiddleware',
'blti.middleware.CSRFHeaderMiddleware',
'blti.middleware.SessionHeaderMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
Additional settings
# BLTI consumer key:secret pairs
LTI_CONSUMERS = {
'<unique_consumer_key>': '<32_or_more_bytes_of_entropy>'
}
# BLTI session object encryption values
BLTI_AES_KEY = b'<AES128_KEY>'
BLTI_AES_IV = b'<AES128_INIT_VECTOR>'
url(r'^blti/', include('blti.urls')),