Skip to content

Commit

Permalink
Review of chapter 22
Browse files Browse the repository at this point in the history
  • Loading branch information
Enforcer committed Dec 20, 2024
1 parent df7abd8 commit a67e03d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chapter_22_fixtures_and_wait_decorator.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ _Being an attempt to explain sessions, cookies, and authentication in Django._
((("authentication", "cookies and")))
Because HTTP is stateless,
// SEBASTIAN: I remember me, being a junior always puzzled when reading HTTP is stateless. Perhaps an explanation in plain english (periphrasis) would do a better job. It's a second sentence in part that tries to explain something tricky.
servers need a way of recognising different clients with _every single request_.
IP addresses can be shared,
so the usual solution is to give each client a unique session ID,
Expand Down Expand Up @@ -495,6 +496,8 @@ One of the fun things this can be used for is to make a decorator
that changes the arguments of a function. But we won't get into that now.
The main thing is that our decorator now works!

// SEBASTIAN: that's actually an awful idea, making it harder to leverage type hints. I wouldn't be giving people such ideas :D


[subs="specialcharacters,macros"]
----
Expand Down

0 comments on commit a67e03d

Please sign in to comment.