Don't mix my view

Report a typo

Alex is working on his first Django project. By now, he created a view function to return a HttpResponse object with a welcoming message. Somehow, his code got mixed up really. Help him rearrange the lines.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                message.write("<p>Feel free to explore all the pages!</p>")
              
                message.write("<p>Welcome to my website!</p>")
              
                message = HttpResponse()
              
                def welcome(request):
              
                from django.http import HttpResponse
              
                return message
              
___

Create a free account to access the full topic