mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-12 01:10:20 +02:00
Add USE_TZ = True
This commit is contained in:
@ -25,6 +25,9 @@ except AttributeError:
|
|||||||
|
|
||||||
HAS_TAG_SUPPORT = False
|
HAS_TAG_SUPPORT = False
|
||||||
|
|
||||||
|
# Use international timezones
|
||||||
|
USE_TZ: bool = True
|
||||||
|
|
||||||
# check for secure cookie support
|
# check for secure cookie support
|
||||||
if os.environ.get('SECURE_PROXY_SSL_HEADER'):
|
if os.environ.get('SECURE_PROXY_SSL_HEADER'):
|
||||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||||
|
Reference in New Issue
Block a user