5 ms·
Is Django restful in current version? Or I still need these if request.GET and if request.POST ?
by icn2 10y ago
Is Django restful in current version? Or I still need these if request.GET and if request.POST ?
- haikuginger 10y agoSo, 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.