Add USE_TZ = True

This commit is contained in:
Martin Whitehouse
2022-06-28 16:08:13 +02:00
parent e438f6b4db
commit 94c597205e

View File

@ -25,6 +25,9 @@ except AttributeError:
HAS_TAG_SUPPORT = False
# Use international timezones
USE_TZ: bool = True
# check for secure cookie support
if os.environ.get('SECURE_PROXY_SSL_HEADER'):
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')