~/talk

Contributing to Django or how I learned to stop worrying and just try to fix an ORM Bug

Talkat DjangoCon US 2023 · 2023-10-16..10-20· [python, open-source]
slides:none on file

Fixes a long‑standing SQLite quirk: a 2009 bug where SQLite named parameters break raw queries. Reproduces the failure, updates sqlite3 backend (convert_query / execute / execute_many), flips supports_param_style = False to True, and adds a naming‑dictionary formatting approach so named params work across backends. Runs targeted tests and the full test suite passes, lands a PR and updates Python docs. Public notes show iterative debugging across ~40 comments and the ticket labelled ticket 170 is closed.

AI-written summary · about

  1. 0:00Introduction
  2. 6:06First ORM bug attempt
  3. 11:47Bug re-evaluation and guidance
  4. 16:10Bug replication and research
  5. 20:56Fixing SQLite named params
  6. 24:28Testing and documenting
  7. 29:46Collaborative improvements
  8. 32:21Lessons learned
  9. 34:32Contribute to Django
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.