debugging - apply decorator to all django error views -


I have my HTTP basic as a decorator who is wrapped around my most of the ideas in the testing venue and on my production There is no BasicAuth site. If debug = false then it only gives the view, otherwise it checks a BasicAuth password.

I have just figured out that good debug error pages are still visible to any hacker, though. (Obviously not wrapped in the decorator.) Which exposes all my super secret callbacks! ;) It is not good to highlight things like PayPal IPN callback. (Although I callback PayPal to verify every transaction, obviously (actually Django-PayPal does this for me, thanks for the awesome open source projects!))

My question : How would I wrap all of those error pages in the decorator, too? I do not want to live without my beautiful debug output, it is very useful.

Thanks Rainer


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -