From c227dad81c9efcf064f1534661edec400ed603d9 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 21 Jul 2022 22:58:12 +0200 Subject: [PATCH] Add the web module to the users module as a dependency. (It's only going to be optional though.) --- modules/users/config.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/users/config.py b/modules/users/config.py index d0a4d8e27..4c27cc3ec 100644 --- a/modules/users/config.py +++ b/modules/users/config.py @@ -20,3 +20,10 @@ def get_doc_classes(): def get_doc_path(): return "doc_classes" + +# This is (or should be if not) an optional dependency, it's needed so the web module is built first, as some classes need to inherit from WebNode (only when web module is enabled). +def get_module_dependencies(): + return [ + "web", + ] +