Re: Propagating X-Frame-Options header to debug view responses on errors

2022-01-28 Thread 'Ben Dickinson' via Django developers (Contributions to Django itself)
iews are called, and if they error. Alternatively your middleware > might just set X-Frame-Options for all url's with the prefix your app is > installed at. > > On Mon, 24 Jan 2022 at 16:17, 'Ben Dickinson' via Django developers > (Contributions to Django itself) wrote

Propagating X-Frame-Options header to debug view responses on errors

2022-01-24 Thread 'Ben Dickinson' via Django developers (Contributions to Django itself)
Hi all, I'm one of the maintainers of django-pattern-library , which allows Django templates to be rendered with dummy context provided in static files. These rendered versions of the templates are show in an iframe, which means we have a bit