Combining Django ORM & FastAPI in a Data Visualization Tool
summary
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
chapters (12)
- 0:00Introduction
- 0:15Framework Overview
- 6:21Django Ecosystem Strengths
- 6:54FastAPI Advantages
- 7:27Unique Integration Challenges
- 8:09Code base evolution
- 8:20Tooling compatibility issues
- 16:25Testing strategies
- 21:30Q&A Session
- 21:46Performance Requirements
- 21:57Accessing Resources
- 24:04Conclusion
related talks
32mMarrying Django and FastAPI 💍
21mBuilding Powerful APIs with Django, Django Rest Framework, and OpenAPI
02h 23mBuild a production ready GraphQL API using Python
01h 06mEffective Django
40mTaking Django Async
27mA Data Harmonization Engine on top of Django - The Good, the Bad, and the Ugly
46mCreating Solid APIs
25mTaking Django's ORM Async
