how to retrive http response in django class based views code example Example: httpresponse django from django.http import HttpResponse