Hi
I've got a Http BasicAuth decorator wrapped around most of my views in django on my testing site and no BasicAuth on my production site. If debug = false it simply returns the view, otherwise it does a BasicAuth password check.
I just discovered that the nice debug error pages are still visible to any little hacker, though. (Obviously not wrapped in the decorator.) Which exposes all my super secret callbacks! ;) Exposing things like the PayPal IPN callback is just not cool. (Even though I do a callback to PayPal to verify every transaction, obviously. (Actually django-paypal does this for me, thanks for awesome open source projects!))
My question: How do I wrap all of those error pages in the decorator, too? I don't want to live without my pretty debug output, it's just too useful.
Thanks Rainer