Ask Your Question

Setting DEBUG=False breaks voting

asked 2012-11-29 16:47:11 -0600

jeffhui's avatar

updated 2012-11-29 16:48:38 -0600

Hi, I'm trying to deploy askbot to heroku (with memcachier). All is working fine except when you try to upvote anything, an error occurs (with a red dialog that says):

invalid literal for int() with base 10: 'True'

But that only occurs when DEBUG is set to False. Is there any way to solve this other than leaving the server in debug mode?

Heroku logs doesn't show any sort of error reporting (I'm making logs go to stdout instead of a file).

edit retag flag offensive close merge delete


Your issue might be specific to your deployment - have you used any non-default configurations?

Evgeny's avatar Evgeny  ( 2012-12-21 19:57:42 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-29 17:56:48 -0600

Evgeny's avatar

Tried and could not reproduce. Maybe your static files are not served correctly? Did you ran python collectstatic?

Is your webserver configured to serve static files?

edit flag offensive delete link more

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-11-29 16:47:11 -0600

Seen: 213 times

Last updated: Nov 29 '12