How to set debug mode off, if I use pc as server

408 views
Skip to first unread message

sojyu wong

unread,
Jun 20, 2021, 2:27:39 PM6/20/21
to oTree help & discussion
Hello everyone,

I know that I should set OTREE_PRODUCTION = 1, but I don't know where to write the code, should I put them in setting.py? But I already try it and it doesn't work

Thank you.

Chris @ oTree

unread,
Jun 20, 2021, 6:02:55 PM6/20/21
to oTree help & discussion
it's an environment variable; if your server is a PC, search your Control Panel for 'environment variables'.
Reply all
Reply to author
Forward
0 new messages