1👍
Have your settings.py
execute code to determine which plugins exist by scanning the ‘plugin’ folder, and build up the appropriate INSTALLED_APPS variable.
# In settings.py
for path in os.listdir(my_plugins_folder_location):
if os.path.isdir(path):
app_name = 'project_root.plugin.%s' % path
if app_name not in INSTALLED_APPS:
INSTALLED_APPS.append(app_name)
Source:stackexchange.com