From dc957f310f3c8e565b7440fae09246eaa9750724 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 20 Mar 2026 20:36:14 -0500 Subject: [PATCH] fix: disable edit for Node Type in App Info config this value is only read from config file, not settings tablec --- src/wuttaweb/templates/appinfo/configure.mako | 8 +++----- src/wuttaweb/views/settings.py | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/wuttaweb/templates/appinfo/configure.mako b/src/wuttaweb/templates/appinfo/configure.mako index 2cc4dc9..a55beb1 100644 --- a/src/wuttaweb/templates/appinfo/configure.mako +++ b/src/wuttaweb/templates/appinfo/configure.mako @@ -16,11 +16,9 @@ - ## TODO: should be a dropdown, app handler defines choices - - + ## nb. this field is disabled b/c value is only read from config file + diff --git a/src/wuttaweb/views/settings.py b/src/wuttaweb/views/settings.py index e2bfead..90d687c 100644 --- a/src/wuttaweb/views/settings.py +++ b/src/wuttaweb/views/settings.py @@ -221,7 +221,6 @@ class AppInfoView(MasterView): # pylint: disable=abstract-method simple_settings = [ # basics {"name": f"{self.config.appname}.app_title"}, - {"name": f"{self.config.appname}.node_type"}, {"name": f"{self.config.appname}.node_title"}, {"name": f"{self.config.appname}.production", "type": bool}, {"name": "wuttaweb.themes.expose_picker", "type": bool},