~/talk

ORM: The Sequel

Talkat DjangoCon US 2018 · 2018-10-14..10-19· [django, developer-experience]
slides:none on file

An existing Django project is explored using the django shell and automatic imports from django extensions plus graphviz to generate a UML PNG of models, map tables and foreign keys, and trace a broken emoji image filename. Queries reveal a display limit of 21, a true result count of 44, and a Cartesian join mistake that inflates results to ~700. The ORM techniques shown include Q objects, annotate, .query inspection and avoiding raw SQL while reproducing the bug and fixing the data.

AI-written summary · about

  1. 0:00Start
  2. 3:31The Django Shell
  3. 3:50Django Shell
  4. 4:53List All the Tables in a New Django Project
  5. 7:52Add a Where Clause
  6. 8:36Joins
  7. 22:01Bug Hunting
~/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.