Hacker News new | ask | show | jobs
by traverseda 1212 days ago
Django is nice, and python's type hints can be nice. Why not have a nice django?

>I really just want to write business logic, wire that up to endpoints in a nice DSL, and move on.

Not really sure what you mean, but django ninja? https://django-ninja.rest-framework.com/

Just write a function, use type hints to say what arguments it takes, and throw a decorator onto it. Very similar to fastApi but with the django framework behind it.