From d0e841b41d3019c88f09b237012790c96d5f3cc2 Mon Sep 17 00:00:00 2001 From: Sergey Klyuykov Date: Thu, 15 Aug 2019 09:58:34 +1000 Subject: [PATCH] Added support for executing from interpreter. For run from python interpreter as module use command: `python -m daphne [all daphne arguments]` --- daphne/__main__.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 daphne/__main__.py diff --git a/daphne/__main__.py b/daphne/__main__.py new file mode 100644 index 0000000..2715716 --- /dev/null +++ b/daphne/__main__.py @@ -0,0 +1,3 @@ +from daphne.cli import CommandLineInterface + +CommandLineInterface.entrypoint()