We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70a8888 commit 36d5c7eCopy full SHA for 36d5c7e
docs/topics/authentication.rst
@@ -86,7 +86,8 @@ query string and uses that::
86
close_old_connections()
87
88
# Look up user from query string (you should also do things like
89
- # check it's a valid user ID, or if scope["user"] is already populated)
+ # checking if it is a valid user ID, or if scope["user"] is already
90
+ # populated).
91
user = User.objects.get(id=int(scope["query_string"]))
92
93
# Return the inner application directly and let it run everything else
0 commit comments