From 0d3e1e2a13805f2aa7f101b28db8516a2f6c70e5 Mon Sep 17 00:00:00 2001 From: TheophileDiot Date: Wed, 13 Jul 2022 14:46:56 +0200 Subject: [PATCH] Update the plugins docs --- docs/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins.md b/docs/plugins.md index c800b7114..406ab0663 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -408,7 +408,7 @@ Otherwise, the form will not be submitted because of the CSRF token protection. !!! info "Useful information" You can use Python libraries in your **actions.py** file. You just have to **import** them. Here are the main list of available libraries : - `Flask`, `Flask-Login`, `Flask-WTF`, `beautifulsoup4`, `docker`, `Jinja2`, `python-magic` and `requests` + `Flask`, `Flask-Login`, `Flask-WTF`, `beautifulsoup4`, `docker`, `Jinja2`, `python-magic` and `requests`. To see the full list, you can have a look at the Web UI [requirements.txt](https://github.com/bunkerity/bunkerweb/blob/master/ui/requirements.txt) In your **template.html** file, you can use the following functions : `csrf_token` and `url_for`