Djangoã§éçºããæã¯"manage.py runserver"ã使ãã®ãä¸è¬çã ã¨æãã¾ããã以ä¸ã®ãã¼ã¸ã§ç´¹ä»ããã¦ããã¹ã¯ãªãããå©ç¨ããã¨mod_wsgiä¸ã§éçºãè¡ããã¨ãã§ãã¾ããhttp://code.google.com/p/modwsgi/wiki/ReloadingSourceCode#Restarting_Daemon_Processes"Example code for such an automatic restart mechanism..."以ä¸ã®ã¹ã¯ãªãããããã¨ãã°ãmyproject/utils/monitor.pyã¨ãã¦ä¿åãã¦ãmod_wsgiã®èµ·åã¹ã¯ãªããã®ä¸ã§ãmonitor.start()ãå¼ã³åºãã¾ãã # -*- mode: Python; -*- import os os.environ['DJANGO_SETTINGS_MODUL
{{#tags}}- {{label}}
{{/tags}}