But, those four lines are super unintuitive. I think if there was a “connect” function that would just do this in the background, then django’s ORM could probably replace every other ORM library in the python ecosystem.
That’s probably not the devs’ goal or interest, but they did make a python ORM that pretty much blows away everything else in terms of ease of use (besides maybe the dataset library).