django/core/management.py (line 1013)
from django.utils import autoreload
autoreload.main(inner_run)
I believe there should be a way to tell the django to run in a single
thread for debug purposes. Something like this would suffice.
if os.environ.get("PYDEV_DEBUG") == "true":
inner_run()
else:
from django.utils import autoreload
autoreload.main(inner_run)
Have other users had this issue. Can we get this fix added to the trunk
development.
Changeset 3348, adds the '--noreload' option for django_admin.py.
"Added command line flag to disable use of auto-reloader on development
server."
Check http://code.djangoproject.com/changeset/3348
gjiro
import os
os.environ['DJANGO_SETTINGS_MODULE']='mysite.settings'
from django.core import management
management.runserver(addr='0.0.0.0', port='8080', use_reloader=False)
Then set up Eclipse to run/debug with that file and you can set
breakpoint etc right thru the hole process
Regards
Sten