Django implement installable plugins at runtime

I want to made Django app that allows creation and then installation of plugins, or modules, for it, somewhat like you can do in CMS.

Creator of plugin should define models, some configuration settings and handler functions for actions. Plugin will provide only REST api, so no templates required. Plugins must be installed at runtime - creator fills form, attaches archive with code, and plugin gets installed and activated.

Unfortunately, my understanding of Django internals is way too low for this task.
The most tricky part is runtime installation. There is answer how to install django app at runtime, but it feels hacky. Also, there is lib called django-pluggins, but it works with older version of Django and seems unmaintained.

Back to Top