First time here? Check out the FAQ!
0

Setting DEBUG=False breaks voting

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).

jeffhui's avatar
1
jeffhui
asked 2012-11-29 16:47:11 -0600, updated 2012-11-29 16:48:38 -0600
edit flag offensive 0 remove flag close merge delete

Comments

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
add a comment see more comments

1 Answer

0

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

Is your webserver configured to serve static files?

Evgeny's avatar
13.2k
Evgeny
answered 2012-11-29 17:56:48 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments