mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
The zerver.models hack does not appear to be necessary now. Meanwhile, get_wsgi_application has its own django.setup call, which would overwrite the parts of our logging configuration pulled in by zerver.models. This fixes part of #15391; specifically, fixes it in production, but not in development, where ‘manage.py runserver’ calls its own django.setup and then imports various bits of our code before finding zproject.wsgi. Signed-off-by: Anders Kaseorg <anders@zulip.com>