django return html response

Solutions on MaxInterview for django return html response by the best coders in the world

showing results for - "django return html response"
Brandon
19 Jan 2019
1from django.http import HttpResponse
2return HttpResponse('<h1>Hello World</h1>')