Ask Your Question

"502 Bad Gateway" when editing badge awards in admin

asked 2012-03-18 22:10:36 -0600

todofixthis's avatar

updated 2012-04-14 15:41:06 -0600

When I try to edit a badge award in Django Admin (e.g., navigate to /admin/askbot/award/3/) on my hosted site, I get a "502 Bad Gateway" error.

The error only seems to occur when I reference an existing badge award record. If I try to go to e.g., /admin/askbot/award/4/ when record 4 does not exist, I get a 404 page as expected.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-18 22:16:43 -0600

Evgeny's avatar

Users should not be editing admin interface really - I never do, only very occasionall

Of course this is a bug, but really should not be exposed to the UI. Are you trying to create new badges? It's impossible (except maybe some special cases) - because badges come with some code that cannot be edited via the UI.

Also - the objects you were trying to edit are actually badge awards - they link badges with the users who receive them.

I think we should disable the largest part of the admin interface and leave only the "safe parts" for the site admins to edit.

edit flag offensive delete link more


I'm inclined to agree with that last sentence. I came across the behavior while I was exploring the admin side of things. I had no specific intentions; it was more like, "Ooh, shiny! I wonder what it does...."

todofixthis's avatar todofixthis  ( 2012-03-19 16:38:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-03-18 22:10:36 -0600

Seen: 351 times

Last updated: Mar 18 '12