Marrying Django and FastAPI π
Joseph Victor Zammit 09:45 stage π€
Is marrying Django and FastAPI something you should do? Not unless you have a case for it. And there are specific cases.
This talk starts by going through such case by describing the problem and approaches considered. And what led to this marriage.
As in any marriage, good communication and some compromise are required. I.e. care has to be taken for Django and FastAPI to work nicely together.
So we’ll go into what we ended up putting in place. What works well and what could work better.
The suggested approach is by no means “the best” approach. However it’s an approach that is embedded in a team’s CI/CD flow. And as a result deployed to a production environment.
About Joseph
Iβm Joseph. I am in software engineering since the β00s. Working professionally since β06.
Most of the time my roles were βbackendβ. Where working with data and relational databases is a key part of backend.
From β08 onwards I worked a lot with Python. And the framework I worked with most is Django.
Website: https://www.untangled.dev/
Talk references
- Full references page: https://www.untangled.dev/2024/10/04/talk-djangoday-cph-24/
- Github repo with working proof-of-concept application: https://github.com/jvzammit/cph24