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:
Maik Hoepfel 2016-10-18 19:07:56 +02:00 committed by Andrew Godwin
parent 12ca598d6b
commit b9d2f534c4

View File

@ -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):