Hacker News new | ask | show | jobs
by icn2 3409 days ago
Is Django restful in current version? Or I still need these if request.GET and if request.POST ?
1 comments

So, there are a few ways to handle it. DRF gives you a REST-oriented paradigm to work with, but in standard Django, you can do class-based views with either get, post, etc methods, or you can use generics like "ListView" and just provide some stock methods like get_queryset to flesh it out.