mirror of
https://github.com/django/daphne.git
synced 2025-04-20 08:42:18 +03:00
clarified where you can get the keyword arguments (#225)
My initial problem was that i tried to access the keyword arguments in the ctor of the consumer...
This commit is contained in:
parent
d3c5cc809a
commit
07d1551306
|
@ -54,7 +54,7 @@ You can have multiple filters::
|
|||
Multiple filters are always combined with logical AND; that is, you need to
|
||||
match every filter to have the consumer called.
|
||||
|
||||
Filters can capture keyword arguments to be passed to your function::
|
||||
Filters can capture keyword arguments to be passed to your function or your class based consumers member function as a ``kwarg``::
|
||||
|
||||
route("websocket.connect", connect_blog, path=r'^/liveblog/(?P<slug>[^/]+)/stream/$')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user