from django.http import HttpResponse # only used in class

def home(request):
    html = """
    <h1>Welcome to Route Demo Home</h1>
    <h3>You got here via {}</h3>
    """.format(request.path)
    return HttpResponse(html)

8a23e6c16afc70bfa931d0fed013fa977ef81ded
<mask token>

<mask token>


def home(request):
    html = (
        """
    <h1>Welcome to Route Demo Home</h1>
    <h3>You got here via {}</h3>
    """
        .format(request.path))
    return HttpResponse(html)

from django.http import HttpResponse


def home(request):
    html = (
        """
    <h1>Welcome to Route Demo Home</h1>
    <h3>You got here via {}</h3>
    """
        .format(request.path))
    return HttpResponse(html)

from django.http import HttpResponse # only used in class

def home(request):
    html = """
    <h1>Welcome to Route Demo Home</h1>
    <h3>You got here via {}</h3>
    """.format(request.path)
    return HttpResponse(html)
