From d74c599da652464c9c80ceb17bc088e335fa5361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CPaulo?= Date: Mon, 11 Mar 2024 16:51:46 -0300 Subject: [PATCH] support for section without link --- django/contrib/admin/templates/admin/app_list.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/app_list.html b/django/contrib/admin/templates/admin/app_list.html index 3b67b5feab..ecf67cde8d 100644 --- a/django/contrib/admin/templates/admin/app_list.html +++ b/django/contrib/admin/templates/admin/app_list.html @@ -5,7 +5,11 @@
{% for model in app.models %} {% with model_name=model.object_name|lower %}
- {{ app.name }} + {% if app.app_url %} + {{ app.name }} + {% else %} + {{ app.name }} + {% endif %}