0.12.20 timezone in chat messages

This commit is contained in:
SDE
2024-02-09 16:57:27 +03:00
parent eddb3a1858
commit a25f30eda7
3 changed files with 21 additions and 2 deletions

View File

@@ -126,6 +126,7 @@ MIDDLEWARE = [
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'AuthApp.middleware.ResponseInterceptionMiddleware',
'GeneralApp.tz_middelware.TimezoneMiddleware',
"allauth.account.middleware.AccountMiddleware",
]
@@ -220,11 +221,11 @@ TIME_ZONE = 'Europe/Minsk'
USE_I18N = True
# USE_TZ = True
USE_TZ = True
USE_L10N = True
USE_TZ = False
# USE_TZ = False
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.2/howto/static-files/