From d1817a3611aa66067ea1dd7a8f532d16097211e4 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 28 Feb 2026 18:40:35 -0600 Subject: [PATCH] fix: rename views for "all records" (all assets, all logs etc.) just for clarity's sake, i think it's better --- src/wuttafarm/web/views/assets.py | 6 +++--- src/wuttafarm/web/views/logs.py | 6 +++--- src/wuttafarm/web/views/quantities.py | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/wuttafarm/web/views/assets.py b/src/wuttafarm/web/views/assets.py index ce101f8..963fe78 100644 --- a/src/wuttafarm/web/views/assets.py +++ b/src/wuttafarm/web/views/assets.py @@ -49,7 +49,7 @@ def get_asset_type_enum(config): return asset_types -class AssetView(WuttaFarmMasterView): +class AllAssetView(WuttaFarmMasterView): """ Master view for Assets """ @@ -368,8 +368,8 @@ class AssetMasterView(WuttaFarmMasterView): def defaults(config, **kwargs): base = globals() - AssetView = kwargs.get("AssetView", base["AssetView"]) - AssetView.defaults(config) + AllAssetView = kwargs.get("AllAssetView", base["AllAssetView"]) + AllAssetView.defaults(config) def includeme(config): diff --git a/src/wuttafarm/web/views/logs.py b/src/wuttafarm/web/views/logs.py index af0e375..7f5d9cf 100644 --- a/src/wuttafarm/web/views/logs.py +++ b/src/wuttafarm/web/views/logs.py @@ -89,7 +89,7 @@ class LogTypeView(WuttaFarmMasterView): return buttons -class LogView(WuttaFarmMasterView): +class AllLogView(WuttaFarmMasterView): """ Master view for All Logs """ @@ -367,8 +367,8 @@ def defaults(config, **kwargs): LogTypeView = kwargs.get("LogTypeView", base["LogTypeView"]) LogTypeView.defaults(config) - LogView = kwargs.get("LogView", base["LogView"]) - LogView.defaults(config) + AllLogView = kwargs.get("AllLogView", base["AllLogView"]) + AllLogView.defaults(config) def includeme(config): diff --git a/src/wuttafarm/web/views/quantities.py b/src/wuttafarm/web/views/quantities.py index 7d75290..fb5279d 100644 --- a/src/wuttafarm/web/views/quantities.py +++ b/src/wuttafarm/web/views/quantities.py @@ -248,7 +248,7 @@ class QuantityMasterView(WuttaFarmMasterView): return buttons -class QuantityView(QuantityMasterView): +class AllQuantityView(QuantityMasterView): """ Master view for All Quantities """ @@ -280,8 +280,8 @@ def defaults(config, **kwargs): QuantityTypeView = kwargs.get("QuantityTypeView", base["QuantityTypeView"]) QuantityTypeView.defaults(config) - QuantityView = kwargs.get("QuantityView", base["QuantityView"]) - QuantityView.defaults(config) + AllQuantityView = kwargs.get("AllQuantityView", base["AllQuantityView"]) + AllQuantityView.defaults(config) StandardQuantityView = kwargs.get( "StandardQuantityView", base["StandardQuantityView"]