From 41c88167261169b1e6e69f0067f90f1d84b13c20 Mon Sep 17 00:00:00 2001 From: bart-maykin Date: Wed, 11 Dec 2024 00:35:45 +0100 Subject: [PATCH] :art: changed AppGroupQuerySet app_link set to view_only --- django_admin_index/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_admin_index/models.py b/django_admin_index/models.py index 00b4ac3..59c1d0d 100644 --- a/django_admin_index/models.py +++ b/django_admin_index/models.py @@ -86,6 +86,7 @@ def as_list(self, request, include_remaining=True): "app_label": app.slug, "admin_url": app_link.link, "active": request.path.startswith(app_link.link), + "view_only": True, } ) active = request.path.startswith(app_link.link)