-
relating code in consumers.py:
OS =Windows 7-64bit pip-freeze:
full Traceback: daphne.server - ERROR - Exception inside application: call() missing 1 required positional argument: 'send' |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Likely you missed the |
Beta Was this translation helpful? Give feedback.
-
my consumer.py
my aggi.py
i am also got same error i have not router.py, i wrote my ws pattern in asgi, how to solve |
Beta Was this translation helpful? Give feedback.
-
Try changing |
Beta Was this translation helpful? Give feedback.
Try changing
path(conf["intranet"]["address"].split("/")[3]+"/", Trade)
to
path(conf["intranet"]["address"].split("/")[3]+"/", Trade.as_asgi())
As nstadelmaier-dev suggested.