Weeknotes for the week finishing Friday, 27th September 2024.
This was my third full week as Katie’s buddy. We covered:
- When
QuerySets are evaluated - The nature of the SQL statements generated by Django’s ORM
- List comprehensions (listcomps)
- Breakpoints, the Python debugger, and pdb++
- Django Debug Toolbar
- Django’s requests, responses, and middleware (within the context of views and authentication)
- Callables (within the context of a URLconf)
- And Dracula
Katie also started MDN’s Django Tutorial.
There were many great learning moments with Katie this week.
The best?
On Monday, I watched Katie find out that MyModel.objects.count() caches the result.
On Friday, I heard Katie ask
“Why does this view take less time to render, when I refresh the page?”
and immediately answer “Ah, because the results are cached!”
Besides buddying, I was on tech support this week. It was great to be busy again, after several months of quiet. I revisited how we restrict access to datasets, and had a couple of productive conversations with Lucy and Ben B.C.
Finally, Simon reminded me of “Hypermedia Systems”. I’m really enjoying it. If nothing else, then it’s helping me understand why I have an aversion to SPAs.