logging.debug("if only I'd known")

I wish Simon Willison had written about Django logging and debugging earlier than today. That way I wouldn’t have used the slightly daft solution I describe in the comments.

Of course, much earlier than today, and he’d have had to have written it before giving the talk that it was based on, which might sound a bit demanding on my part. But hey! I don’t make the rules.