mirror of
https://github.com/django/daphne.git
synced 2024-11-25 01:03:45 +03:00
Added support for executing from interpreter.
For run from python interpreter as module use command: `python -m daphne [all daphne arguments]`
This commit is contained in:
parent
9838a173d7
commit
d0e841b41d
3
daphne/__main__.py
Normal file
3
daphne/__main__.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from daphne.cli import CommandLineInterface
|
||||||
|
|
||||||
|
CommandLineInterface.entrypoint()
|
Loading…
Reference in New Issue
Block a user