Ask Your Question
0

Setting DEBUG=False breaks voting

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

jeffhui gravatar image

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

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

Comments

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

Evgeny gravatar imageEvgeny ( 2012-12-21 19:57:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image

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?

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

Stats

Asked: 2012-11-29 16:47:11 -0500

Seen: 120 times

Last updated: Nov 29 '12