There is a package called Django REST Framework can do what you need. See: Home <https://www.django-rest-framework.org/> On Monday, July 12, 2021 at 11:55:48 AM UTC+8 [email protected] wrote:
> With due respect, it is my request that it will be better for Django > developers if there is a built-in REST API support for Django. And In the > views.py if we have a @urls(["/home", "/"]) decorator for function-based > view and for Class-based view URLs attribute that works as like flask and > fast API or other web backend frameworks it will be more convenient for us > to handle and understand the URL routing. I know Django-core developers can > do what I try to say. Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4bb326a9-ed20-4a08-9606-c52ba1ffe731n%40googlegroups.com.

