fix: add Daily Reports to sidebar via get_app_list override

- Create openclaw_daily app (no models, just app config)
- Override get_app_list() in OpenClawAdminSite to inject Daily Reports item
- Use get_app_list approach (not nav-sidebar template override)
- Inject at top of app list for visibility
This commit is contained in:
ishenwei
2026-04-08 19:42:10 +08:00
parent 721b113c9d
commit 9412e7880d
5 changed files with 36 additions and 32 deletions

View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class OpenClawDailyConfig(AppConfig):
name = "openclaw_daily"
label = "openclaw_daily"
verbose_name = "Daily Reports"