Ask Your Question

How to remove the debug warning header?

asked 2022-01-11 02:48:47 -0600

Gabriel Luk's avatar

updated 2022-01-14 17:37:32 -0600

Evgeny's avatar

After several tries, I upgraded to 0.11.1 from 0.10.2. I can start my AskBot with python runserver --insecure I found the following messages at the top of the page.

You are seeing this message because you are using Django runserver and DEBUG_MODE is False. Runserver should not be used in production.

To serve static media in production - please run:

python collectstatic

If you do not see page styling - set DEBUG_MODE = True or use --insecure flag with the runserver command.

How can I suppress them?

edit retag flag offensive close merge delete


Just want to ask you make decent question titles, I see two questions titled "askbot 0.11.1" and was going to delete one of them for being duplicate. It's best if the title is the short version of the question itself.

Evgeny's avatar Evgeny  ( 2022-01-14 17:36:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-01-14 17:34:10 -0600

Evgeny's avatar

updated 2022-01-14 17:38:39 -0600

Hi Gabriel, there is a typo in the message indeed - the parameter to edit is DEBUG not DEBUG_MODE.

The message will go away if you ether stop using the runserver or set DEBUG = True in the file.

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: 2022-01-11 02:48:47 -0600

Seen: 493 times

Last updated: Jan 14 '22