How to add new features like django apps in tutor?

Is this your own django app or an existing third party django app?

If it’s your own django app and it’s focused on Open edX, the best way to do it is probably by implementing it as a django app plugin. In that case, you don’t need to make a Tutor plugin at all; you just need to use one of the two methods for installing an additional python package.

If it’s an existing third party django app (that isn’t designed as a “django app plugin” for Open edX), then you will need to create a Tutor plugin to install and configure it. Installing an additional python package and adding to the Django settings (“envs.common”) are easy to do from a plugin; for the latter, it would work similarly to the Google Analytics example. But I am not sure about urls.py; the “old” Tutor plugins did not support modifying that file and I’m not sure if the “new” plugins API does or not. So this way definitely involves more unknowns that the django app plugin way.

5 Likes