Django错误:HttpResponse语法无效

Django错误:HttpResponse语法无效,django,syntax-error,httpresponse,Django,Syntax Error,Httpresponse,这是我的观点 from django.shortcuts import render from django.http import HttpResponse def index(request): reutrn HttpResponse("<h1>This is a test</h1>") 从django.exe导入渲染 从django.http导入HttpResponse def索引(请求): reutrn HttpResponse(“这是一项测试”)

这是我的观点

from django.shortcuts import render
from django.http import HttpResponse

def index(request):
    reutrn HttpResponse("<h1>This is a test</h1>")
从django.exe导入渲染
从django.http导入HttpResponse
def索引(请求):
reutrn HttpResponse(“这是一项测试”)
无论我做什么,这个语法错误总是出现

File "C:\Users\#24\Python Projects\Test\Packages\views.py", line 6
reutrn HttpResponse("<h1>This is a test</h1>")
                  ^
SyntaxError: invalid syntax
文件“C:\Users\#24\Python Projects\Test\Packages\views.py”,第6行
reutrn HttpResponse(“这是一项测试”)
^
SyntaxError:无效语法
我很难确定是否有其他人有这个问题,但没有骰子。
这是我第一次尝试django

该行有拼写错误,您应该键入return而不是reutrn

    reutrn HttpResponse("<h1>This is a test</h1>")
reutrn HttpResponse(“这是一项测试”)

return中有一个输入错误,应该是
return-HttpResponse(“这是一个测试”)
而不是
reutrn-HttpResponse(“这是一个测试”)
谢谢!我就知道会很简单!