From 5013c05d35baeff4db62cb73b07d3e0fc6e7cb41 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 22 Jul 2026 19:18:34 -0700 Subject: [PATCH] settings: Drop support for Django < 4.0 - Trixie has Django 4.2.28. Tests: - Unit tests pass on Trixie and Forky. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/settings.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plinth/settings.py b/plinth/settings.py index 50c303942..6493ecbed 100644 --- a/plinth/settings.py +++ b/plinth/settings.py @@ -26,7 +26,6 @@ See: https://docs.djangoproject.com/en/dev/ref/settings/ """ -import django from django.utils.translation import gettext_lazy as _ ALLOWED_HOSTS = ['*'] @@ -240,9 +239,6 @@ TEMPLATES = [ TIME_ZONE = 'UTC' -if django.VERSION <= (4, 0): - USE_L10N = True - USE_TZ = True # Overridden by configuration setting use_x_forwarded_host