Ask Your Question

Will twitter sign-in only work if debug=true?

asked 2013-03-09 10:38:47 -0500

junior123's avatar

I was able to get twitter sign-in to work only after changing debug=true in - as a result now i have a message on top of website - "Debug mode is on, do not use it in production. To turn it off, use DEBUG = False in your file."

Will twitter signin work only if debug=true? if yes, how do i get rid of this message?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-03-09 10:48:18 -0500

junior123's avatar

updated 2013-03-09 11:00:56 -0500

Evgeny, I was basically following your response here -

"Twitter login worked for me - just tested. Does not work for you?

Are you not kicked by mistake to on successful authentication? If so - please change the base url parameter in the "URLS" section.

Secondly the error might occur if your server time is out of sync with the world and to fix that one can run: ntpdate as root (the ntpdate tool may need to be installed).

Finally - just enable debug mode in the by changing DEBUG = False to DEBUG = True."

That is why I changed it, and that is when it worked !

Update: But now I changed debug back to false and twitter sign-in works !

edit flag offensive delete link more


Most likely you've just fixed your server time and it started to work. There is not connection with DEBUG true or false, just a coincidence.

Evgeny's avatar Evgeny  ( 2013-03-09 22:14:08 -0500 )edit

answered 2013-03-09 10:44:57 -0500

Evgeny's avatar

No, there is no connection between the operation of login methods and the debug mode.

To turn off - edit your, change DEBUG=True to DEBUG=False.

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: 2013-03-09 10:38:47 -0500

Seen: 4,713 times

Last updated: Mar 09 '13