Plugins¶
Manages the Plugins page
ExtensionsConfig¶
-
class
blueweather.apps.plugins.apps.ExtensionsConfig(app_name, app_module)¶ -
name= 'blueweather.apps.plugins'¶
-
label= 'blueweather.apps.plugins'¶
-
verbose_name= 'Plugins'¶
-
icon= 'fas fa-puzzle-piece'¶
-
route= 'plugins:index'¶
-
login_required= True¶
-
ready()¶ When the App is ready, let all the plugins know that the server is ready
-
Views¶
-
blueweather.apps.plugins.views.index(request: django.http.request.HttpRequest)¶ The main page for managing plugins
-
blueweather.apps.plugins.views.plugin_list(request: django.http.request.HttpRequest)¶ Get a list of all the plugins as a json list.
Note
The shown parameters are GET parameters
Parameters: - page – page number (default: 0)
- items – number of items per page (default: 10)
Returns: { "plugins": { "plugin-name": {} }, "page": "page-number", "items": "plugins-per-page", "pages": "total-pages", "total": "total-plugins" }
See
getPluginList()for plugin object description.