Opened 2 years ago
Closed 2 years ago
#33884 closed New feature (duplicate)
REST API without 3rd party package
Reported by: | Lorenzo Campanile | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 4.0 |
Severity: | Normal | Keywords: | rest api |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Today if you want to make REST APIs in an easy way (models integations, token authentication, etc..) you need to install a 3rd party package (like DRF).
Why Django does not offer this feature by default? It would be very nice.
Maybe we can just integrate DRF in the main project, or made this feature from scratch.
I could be wrong but I have the feeling that within next years Django will lose popularity in favor of other frameworks, because it's missing this.
As a REST API framework, even DRF it's not so good compared to something like FastAPI.
That's too bad! Because Django itself is great.
Duplicate of #32362.