Tom Smith wrote: > For example, I have made a change to my models.py file and I am > logging all sql to a log file... But when I sit and watch it, the OLD > sql is still getting executed... > > Could it be that having caching turned on is causing this? > > Does Django automatically reload python files when it spots a change > has been made as it does in development mode? And where would I see > that message (i.e in dev mode it's just shown in the command line) > > To reboot django, should I reboot just Lighttpd or also should I run/ > restart the django-fcgi.py files?
Under FastCGI all your code exists inside the FastCGI processes and lighttpd only passes request data to it and gets back results. So on all code changes you should manually restart FastCGI script only, there's no need to touch a web server. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---