mirror of
https://github.com/django/daphne.git
synced 2025-04-21 01:02:06 +03:00
Fix formatting for generics docs (#403)
The paragraph was lacking the double colon to treat the http_user example code as a code block.
This commit is contained in:
parent
12ca598d6b
commit
b9d2f534c4
|
@ -224,7 +224,7 @@ This will run the appropriate decorator around your handler methods, and provide
|
|||
the one passed in to your handler as an argument as well as ``self.message``,
|
||||
as they point to the same instance.
|
||||
|
||||
And if you just want to use the user from the django session, add ``http_user``:
|
||||
And if you just want to use the user from the django session, add ``http_user``::
|
||||
|
||||
class MyConsumer(WebsocketConsumer):
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user