> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >> Despite all this, any URL below 127.0.0.1/test/ just returns the Welcome >> page. It also doesn't throw errors when I enter non-existent URLs, even >> though debug_info is enabled in Django. > > Nevermind, I found the (my) mistake: > > I did not realize that the fcgi server process, once launched by > Cherokee, exists independently. So when I change some Django code (e.g. > URL patterns), I have to reload this process - which cannot be done by > restarting cherokee. > > As it took me some while to figure out how to do this, here is my > current solution: > > - - ps ax -> to find the pid of the python process which is in charge of > the fcgi process > > - - kill -9 "pid-of-python-process" > > That's it, the fcgi process is restarted (with the changed code) the > next time a request is made to a Django-governed URL. >
or you can use the manage.py runserver to develop or edit your code this way every modification is noticed by django or you can launch the your django process with the parameter : daemonize=false this way you can just CRTL-C and relaunch on every modification Saludos Leonel _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
