allow x_frame_options django
X_FRAME_OPTIONS = 'ALLOW-FROM https://example.com/'
allow x_frame_options django
X_FRAME_OPTIONS = 'ALLOW-FROM https://example.com/'
allow x_frame_options django
from django.http import HttpResponse
from django.views.decorators.clickjacking import xframe_options_exempt
@xframe_options_exempt
def ok_to_load_in_a_frame(request):
return HttpResponse("This page is safe to load in a frame on any site.")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us