how to get a request in django view code example Example: httpresponse django from django.http import HttpResponse