[Inpycon] Error while logging out admin

Kenneth Gonsalves lawgon at au-kbc.org
Mon Jun 1 09:49:07 CEST 2009


On Sunday 31 May 2009 12:04:14 Anand Balachandran Pillai wrote:
> Page not found (404) Request Method: GET  Request URL:
> http://greenchilly.in/admin/admin/logout/
>
> And a long traceback from Django.
>
> Kenneth, something needs to be done to take care of errors
> gracefully without the default action of the Python traceback
> being printed. How does typical Django sites take care of this?
> I would think that they would have specific error templates
> for handing most web page errors.
>
> There is one more error when I try to log out from
> http://greenchilly.in/admin/sites/site/admin/logout/ .
>
> ValueError at /admin/sites/site/admin/logout/
>
> invalid literal for int() with base 10: 'admin/logout'
>
> Request Method: GET
>
> However these are admin errors and not priority since they
> don't directly affect user experience. Still I am reporting it.
>
> Anyway, the error management should be more graceful
> than now, since tracebacks are being printed for user
> level errors also.

debug is on for testing - when the site goes live this will be set to off and 
no error messages will be seen.
-- 
regards
Kenneth Gonsalves
Associate
NRC-FOSS
http://nrcfosshelpline.in/web/


More information about the Inpycon mailing list