from django.template.response import TemplateResponse def thanks(request): return TemplateResponse( request, "newsletter/thanks.html", )