mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +00:00
logging: Use django.server to filter 200 and 304.
Previously, we were monkey patching the runserver command in zerver/management/commands/rundjango.py for this.
This commit is contained in:
@@ -149,7 +149,7 @@ pid_file.close()
|
||||
# Pass --nostatic because we configure static serving ourselves in
|
||||
# zulip/urls.py.
|
||||
cmds = [['./tools/compile-handlebars-templates', 'forever'],
|
||||
['./manage.py', 'rundjango'] +
|
||||
['./manage.py', 'runserver'] +
|
||||
manage_args + ['127.0.0.1:%d' % (django_port,)],
|
||||
['env', 'PYTHONUNBUFFERED=1', './manage.py', 'runtornado'] +
|
||||
manage_args + ['127.0.0.1:%d' % (tornado_port,)],
|
||||
|
||||
Reference in New Issue
Block a user