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:
AlexejStukov 2016-06-27 19:24:16 +02:00 committed by Andrew Godwin
parent d3c5cc809a
commit 07d1551306

View File

@ -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/$')