academic-innovation / django-lti

LTI Advantage support for Django projects.
https://academic-innovation.github.io/django-lti/
MIT License
16 stars 7 forks source link

Add content item classes #115

Open michaelwheeler opened 3 months ago

michaelwheeler commented 3 months ago

These would act as a replacement for pylti1p3.deep_link_resource.DeepLinkResource. It seems like the only crucial interface is an as_dict method.

Defining content item classes within django-lti would allow for an improved API (specifying properties on init). It would also open the door for broader support of standard content item types and properties, which has been a frequently desired improvement to pylti1p3.