I was going through the tutorial-1 here 
<http://www.django-rest-framework.org/tutorial/1-serialization/#writing-regular-django-views-using-our-serializer>.
 
Can we not directly use Django's JSONResponse 
<https://docs.djangoproject.com/en/1.10/ref/request-response/#jsonresponse-objects>
 
class here instead of declaring it separately?

(I may be missing something since just getting started with DRF)

thanks
Anupam

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to