0.12.22 timezone in chat messages

This commit is contained in:
SDE
2024-02-09 18:01:11 +03:00
parent 713695cf7d
commit b87df02714
8 changed files with 36 additions and 22 deletions

View File

@@ -126,7 +126,8 @@ MIDDLEWARE = [
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'AuthApp.middleware.ResponseInterceptionMiddleware',
'GeneralApp.tz_middelware.TimezoneMiddleware',
'TWB.tz_middelware.TimezoneMiddleware',
# 'tz_detect.middleware.TimezoneMiddleware',
"allauth.account.middleware.AccountMiddleware",
]
@@ -221,11 +222,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/