From 6be3278027b9ccfbaf9dfab8c650f191f71d0296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20Luginb=C3=BChl?= Date: Wed, 17 Apr 2024 23:43:19 +0200 Subject: [PATCH] update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 75a73ea..5e3629f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Developing widgets There a few sample widgets already included. On each page reload, each widgets `render()` method is called and a dictionary of type`RenderResult` is expected. Structure your module like so: +The widget loader will try to load a class `Renderer` from a file that has the same name as the package. ```python # filename must be same as package name