I started developing application with Django on Ubuntu. I am using Apache 2.2. with mod_wsgi for development. Do I need to run 开发者_JAVA技巧a "touch app.wsgi" command from the terminal EVERY time I modify my script? Seems very uncomfortable :/
Am i missing something?
Meir
When you're developing you can/should use the built in Django webserver:
python manage.py runserver
This will reload files when they change - and make it easy for you to debug your application from IDEs such as Eclipse or ERIC.
That said, there are techniques you can use to tell Apache to reload when files are changed. These are documented here:
http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode
精彩评论