how to set HttpResponse response code in django code example Example: httpresponse django from django.http import HttpResponse