Disable the new default enabled USE_L10N

In Django 4.0 USE_L10N is by default enabled overriding our custom
date/time format.
This commit is contained in:
Jelle van der Waa 2021-12-20 21:55:18 +01:00
parent fbb09ed904
commit b054d0a7f3
No known key found for this signature in database
GPG Key ID: C06086337C50773E

View File

@ -37,6 +37,9 @@
DATE_FORMAT = 'Y-m-d'
DATETIME_FORMAT = 'Y-m-d H:i'
# Disable so our own DATE_FORMAT/DATETIME_FORMAT is used.
USE_L10N = False
# Login URL configuration
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
@ -208,7 +211,7 @@
# Import local settings
try:
from local_settings import * # noqa
from local_settings import * # noqa
except ImportError:
pass