Menu
×
×
Correct!
Exercise:Insert the missing part that will get the template 'mytemplate.html' in the 'members' view:
from django.http import HttpResponse
from django.template import loader
def members(request):
template = loader.@(12)('mytemplate.html')
return HttpResponse(template.render())
from django.http import HttpResponse
from django.template import loader
def members(request):
template = loader.get_template('mytemplate.html')
return HttpResponse(template.render())
Not CorrectClick here to try again. Correct!Next ❯ |