I personally like the idea of a decorator On Mar 13, 12:30 pm, Ryan N <ryan.nieme...@gmail.com> wrote: > I personally do not believe XFrameOptionsMiddleware should be on by > default. There are plenty of folks using Django for simple static > sites or RESTful APIs where clickjacking doesn't apply. > > I'd prefer it's something that requires you to intentionally turn it > on by adding the middleware to your settings and/or using the > decorators on views you want to clickjack protect. > > With that said, I could change the patch if the core devs say > otherwise.
-- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.