I need to build a full authentication and authorisation service, one of many services in my application. I am deciding between Django and FastAPI to implement this service. The full scope of the service will be authentication, roles and permissions.
My major concerns are developer experience and time savings. Please advise with reasons to choose one over the other.
6 upvotes·34.9K views
Replies (2)
Django comes with Auth/Authz built-in, a free admin interface, and probably dozens of ready-made modules for edge cases (i.e: per-object permissions). It is stable and mature. All it requires is that you buy into its ORM. If that's acceptable to you, then Django is probably your fastest bet.
4 upvotes·5.1K views