~/talk

Let's Debug Django like pro

Talkat stackconf online 2020 · 2020-06-16..06-18· [django]
links:none on file
slides:none on file

Shows how to replace ad‑hoc prints with Python’s logging configured in Django’s settings.py using handlers, formatters and a rotating file handler that records timestamp, level, module and line number; demonstrates parsing the log into CSV with pandas and plotting with matplotlib to produce frequency and pie charts (warnings dominate, no criticals in the demo). Claims this yields precise timestamps, severity filtering, and per‑app control so errors map to specific files and times, and the end‑to‑end pipeline works as shown.

AI-written summary · about

  1. 0:00Introduction to debugging
  2. 2:31Print statements vs logging
  3. 7:12Why print fails at scale
  4. 10:04Python logging fundamentals
  5. 15:23Building a basic logger
  6. 19:59Django logger integration
  7. 24:29Extracting insights from logs
  8. 28:10Visualizing log data
  9. 31:52Advanced logging techniques
  10. 32:34Q&A and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.