mirror of
https://github.com/django/daphne.git
synced 2025-10-29 14:57:34 +03:00
* Ignore Emacs backups.
* Do not override default websocket.connect handler.
Channels specification 1.0 requires that websocket.connect handler
returns meaningful message with {'accept': True} at least.
* Add rabbitmq channel layer settings.
* Add benchmark requirements in separate file.
* Add RabbitMQ infrastructure part.
* Adapt benchmark README for new docker layout.
* Adapt fabric deploy for new settings module.
14 lines
292 B
Python
14 lines
292 B
Python
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
|
|
if __name__ == "__main__":
|
|
os.environ.setdefault(
|
|
"DJANGO_SETTINGS_MODULE",
|
|
"testproject.settings.channels_redis",
|
|
)
|
|
|
|
from django.core.management import execute_from_command_line
|
|
|
|
execute_from_command_line(sys.argv)
|