Menu
×
×
正确
from django.http import HttpResponse
from django.template import loader
def members(request):
template = loader.get_template('mytemplate.html')
context = {
'points': 5,
}
return HttpResponse(template.render(context, request))
from django.http import HttpResponse
from django.template import loader
def members(request):
template = loader.get_template('mytemplate.html')
context = {
'points':5,
}
return HttpResponse(template.render(context, request))
from django.http import HttpResponse
from django.template import loader
def members(request):
template = loader.get_template('mytemplate.html')
context = {
'points':'5',
}
return HttpResponse(template.render(context, request))
from django.http import HttpResponse
from django.template import loader
def members(request):
template = loader.get_template('mytemplate.html')
context = {
'points': '5',
}
return HttpResponse(template.render(context, request))
from django.http import HttpResponse
from django.template import loader
def members(request):
template = loader.get_template('mytemplate.html')
context = {
'points': "5",
}
return HttpResponse(template.render(context, request))
from django.http import HttpResponse
from django.template import loader
def members(request):
template = loader.get_template('mytemplate.html')
context = {
'points':"5",
}
return HttpResponse(template.render(context, request))
不正确点击 此处 重试 正确下一题 ❯from django.http import HttpResponse from django.template import loader def members(request): template = loader.get_template('mytemplate.html') context =, return HttpResponse(template.render(context, request)) |