Files
tripwithbonus/TWB/run_daphne.py
SDE a5362bd2ad 0.3.4
chat v3
2023-08-13 13:25:21 +03:00

8 lines
233 B
Python

import sys
if __name__ == '__main__':
# insert here whatever commands you use to run daphne
sys.argv = ['daphne', 'TWB.asgi:application']
from daphne.cli import CommandLineInterface
CommandLineInterface.entrypoint()