From 69d9bf45c8fa209d1b48f20cf57169069af6875e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 31 Dec 2022 17:58:56 -0600 Subject: [PATCH] Remove custom list of app settings normal behavior now shows only "core" settings by default --- messkit/appsettings.py | 37 ------------------------------------- messkit/config.py | 1 - 2 files changed, 38 deletions(-) delete mode 100644 messkit/appsettings.py diff --git a/messkit/appsettings.py b/messkit/appsettings.py deleted file mode 100644 index 838d9f0..0000000 --- a/messkit/appsettings.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8; -*- -###################################################################### -# -# Messkit -- Generic-ish Data Utility App -# Copyright © 2022 Lance Edgar -# -# This file is part of Messkit. -# -# Messkit is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Messkit is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Messkit. If not, see . -# -###################################################################### -""" -Messkit app settings -""" - -# bring in some common settings from rattail -from rattail.settings import ( - - # (General) - rattail_app_title, - rattail_node_title, - rattail_production, - tailbone_buefy_version, - tailbone_grid_default_pagesize, - tailbone_vue_version, -) diff --git a/messkit/config.py b/messkit/config.py index 2bd5e73..063f327 100644 --- a/messkit/config.py +++ b/messkit/config.py @@ -43,5 +43,4 @@ class MesskitConfig(ConfigExtension): config.setdefault('tailbone', 'menus', 'messkit.web.menus') config.setdefault('rattail', 'enum', 'messkit.enum') config.setdefault('rattail', 'model', 'messkit.db.model') - config.setdefault('rattail', 'settings', 'messkit.appsettings') config.setdefault('rattail.mail', 'emails', 'messkit.emails')