cannot import name 'HttpRespons' from 'django.http code example
Example: cannot import name 'httpresponse' from 'django.http'
from django.http import HttpResponse
import datetime
def current_datetime(request):
now = datetime.datetime.now()
html = "<html><body>It is now %s.</body></html>" % now
return HttpResponse(html)