mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-12 12:26:04 +00:00
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 <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
f2e898090c
commit
5013c05d35
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user