|
I was told in another question that I should disable debug mode. How do I do that? I followed the Ubuntu with MySQL guide and this is how my init.d script starts the server:
|
|
Maybe they mean Django Debug mode setting located in settings_local.py? But it's turned off by default AFAIK. To turn off debug mode simply make sure to have: DEBUG = False in settings_local.py file in root folder of OSQA I need to restart Apache for the DEGBUG mode to take effect. Could someone comment on why?
(29 Aug '11, 07:04)
i1der
|
@configurator, tootie_ma is correct, however there's one thing, are you using the embedded server in production? Because that server is for test and development purposes, it's single threaded and much slower. You should be using apache with mod_wsgi or even mod_python (although mod_python is not supported anymore).