~/talk

Crash test of Django ORM

Talkat PyCon Belarus 2017 · on Saturday, 2017-02-04· [django]
slides:none on file

Claims that Django ORM can be “crash‑tested” to cover 80% in 20%, using a concrete 5-table dataset (students, professors, courses, enrollments) and running on Postgres and Docker. Shows concrete failures: Django forces an implicit id primary key, refuses true composite keys, and produces N+1 queries unless traces are inspected with Connection, django-debug-toolbar or custom tracing. Includes migration checks (mostly OK), full‑text search notes, async client perf caveats, pgbench tuning, and a public repo with tests — some pass, some intentionally fail.

AI-written summary · about

  1. 0:00Introduction to Django ORM crash test
  2. 10:22Primary key limitations in Django
  3. 17:11Debugging Django ORM queries
  4. 24:12Table inheritance in PostgreSQL
  5. 25:58Debugging SQL queries in Django
  6. 28:48Data migration challenges
  7. 31:01Full-text search in PostgreSQL
  8. 32:03Synchronous vs asynchronous databases
  9. 33:32PostgreSQL performance benchmarking
  10. 34:57Conclusions and Q&A
~/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.