From 4de9b6644d68c8ffb668a4f86cc9bb2b8fb04d17 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 9 Aug 2024 10:46:13 -0700 Subject: [PATCH] templates: Fix warning about using default.html for form template - All forms are rendered using django-bootstrap-form excep the app enable/disable form. Render this one too using django-boostrap-form so that the default.html is not used for rendering. Using default.html is deprecated in Django 4.0 and in 5.0 will default to using div.html. Tests: - No change in HTML output, appearance or functionality for the enable/disable button. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- plinth/templates/app-header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/templates/app-header.html b/plinth/templates/app-header.html index a8d178f56..154a0681f 100644 --- a/plinth/templates/app-header.html +++ b/plinth/templates/app-header.html @@ -36,7 +36,7 @@
{% csrf_token %} - {{ app_enable_disable_form }} + {{ app_enable_disable_form|bootstrap }}