mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -5,7 +5,6 @@ from contextlib import AsyncExitStack
|
||||
from typing import Any
|
||||
from urllib.parse import SplitResult
|
||||
|
||||
import __main__
|
||||
from asgiref.sync import async_to_sync, sync_to_async
|
||||
from django.conf import settings
|
||||
from django.core.management.base import BaseCommand, CommandError, CommandParser
|
||||
@@ -13,6 +12,8 @@ from tornado import autoreload
|
||||
from tornado.platform.asyncio import AsyncIOMainLoop
|
||||
from typing_extensions import override
|
||||
|
||||
import __main__
|
||||
|
||||
settings.RUNNING_INSIDE_TORNADO = True
|
||||
if settings.PRODUCTION:
|
||||
settings.SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
|
||||
Reference in New Issue
Block a user