more fixes

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-14 17:40:14 +00:00
parent a6fab8784d
commit f7f6a12e7b
5 changed files with 9 additions and 24 deletions

View File

@@ -19,17 +19,9 @@ class Igny8AdminSite(UnfoldAdminSite):
index_title = 'IGNY8 Administration'
def get_urls(self):
"""Add dashboard URL"""
"""Get admin URLs without custom dashboard"""
urls = super().get_urls()
custom_urls = [
path('dashboard/', self.dashboard_view, name='dashboard'),
]
return custom_urls + urls
def dashboard_view(self, request):
"""Dashboard view wrapper"""
from igny8_core.admin.dashboard import admin_dashboard
return admin_dashboard(request)
return urls
def get_app_list(self, request):
"""