Django Built in REST API and @urls decorator suppor
36 views
Skip to first unread message
Emran Ibn Shayed
unread,
Jul 11, 2021, 11:55:48 PM7/11/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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
Guo Zhang
unread,
Jul 12, 2021, 9:31:32 AM7/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
There is a package called Django REST Framework can do what you need. See: Home