参考链接:https://docs.djangoproject.com/en/3.0/ref/settings/#x-frame-options 解决方案:https://stackoverflow.com/questions/33267383/how-to-configure-x-frame-options-in-django-to-allow-iframe-embedding-of-one-view
Django 修改默认 iframe 设置,以允许在某些域名下被加载
发表评论
700 views