~/talk

Only reliable Data: Protecting Database Integrity with Eva Nanyonga

Talkat DjangoCon US 2024 · 2024-09-22..09-27· [django]
slides:none on file

Shows a concrete account-creation API built with Django and Django REST Framework, exercised from Postman against PostgreSQL, where an attempted email send raises a SMTP connection refused error and naive code creates duplicate users (database count jumps from 5 to 11). Wrapping perform_create in a transaction.atomic context (or using the @transaction.atomic decorator) rolls back partial writes. Demonstrates debugging steps, error typing, and that atomic blocks prevent inconsistent ledger state.

AI-written summary · about

  1. 0:00Reliable database data
  2. 1:50Atomicity for integrity
  3. 3:15Atomic transactions demo
  4. 10:12Django transaction API
  5. 12:01Critical atomic use cases
  6. 15:14Summary & Q&A
~/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.