1from django.http import HttpResponse
2from django.views.decorators.clickjacking import xframe_options_exempt
3
4@xframe_options_exempt
5def ok_to_load_in_a_frame(request):
6 return HttpResponse("This page is safe to load in a frame on any site.")
7