~/talk

Combining Django ORM & FastAPI in a Data Visualization Tool

Talkat PyCon Italia 2024 · 2024-05-22..05-25· [django]
slides:none on file

Shows a production data‑visualization app that combines FastAPI (async) with Django ORM (mostly sync), uses sync-to-async decorator or Django 4.2 async helpers, runs under uvicorn in Docker, and keeps Django admin for non‑developer access. Tests include unit tests with a fake repository and integration tests that run migrations and truncate tables via fixtures. Main pain is frequent sync/async runtime errors and missing async features (notably async transactions) but the hybrid setup is deployed and works in production.

AI-written summary · about

  1. 0:00Introduction
  2. 0:15Framework Overview
  3. 6:21Django Ecosystem Strengths
  4. 6:54FastAPI Advantages
  5. 7:27Unique Integration Challenges
  6. 8:09Code base evolution
  7. 8:20Tooling compatibility issues
  8. 16:25Testing strategies
  9. 21:30Q&A Session
  10. 21:46Performance Requirements
  11. 21:57Accessing Resources
  12. 24:04Conclusion
~/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.