kolibri/plugins/base.py
def _installed_apps_remove(cls):
        """Call this from your enable() method to have the plugin automatically
        added to Kolibri configuration"""
        module_path = cls._module_path()
        if module_path in config["INSTALLED_APPS"]:
            config["INSTALLED_APPS"].remove(module_path)
        else:
            logger.warning("{} already disabled".format(module_path))
Call this from your enable() method to have the plugin automatically
        added to Kolibri configuration
Call this from your enable() method to have the plugin automatically
added to Kolibri configuration
Call this from your enable () method to have the plugin automatically added to Kolibri configuration
def _installed_apps_remove(cls):
        module_path = cls._module_path()
        if module_path in config["INSTALLED_APPS"]:
            config["INSTALLED_APPS"].remove(module_path)
        else:
            logger.warning("{} already disabled".format(module_path))
def _installed_apps_remove ( cls ) : module_path = cls . _module_path ( ) if module_path in config [ "INSTALLED_APPS" ] : config [ "INSTALLED_APPS" ] . remove ( module_path ) else : logger . warning ( "{} already disabled" . format ( module_path ) )
Call this from your enable() method to have the plugin automatically
added to Kolibri configuration
Call this from your enable () method to have the plugin automatically added to Kolibri configuration
"""Call this from your enable() method to have the plugin automatically
        added to Kolibri configuration"""
cls