Usually the first recommendation is to apply the latest gentent or greenlet updates or whatever you use related to streams. The implementation of threading.Thread.start has been changed between Python 2.6 and 2.7. There are many recipes for starting green ... or green ... with Django. Try reading the latest for Python 2.7. and send the link that caused the problem.
Debugging:
manage.py, .. stderr:
import threading
setattr(threading, '__debug__', True)
verbose django/db/loading.py 39, , .
- write_lock = threading.RLock(),
+ write_lock = threading.RLock(verbose=True),
. - :
$ python manage.py runserver --noreload
Validating models...
MainThread: <_RLock owner='MainThread' count=1>.acquire(1): initial success
MainThread: <_RLock owner=None count=0>.release(): final release
:
count=1 acquire(1) -
owner=None count=0>.release() -
$ python manage.py runserver
Validating models...
Dummy-1: <_RLock owner=-1222960272 count=1>.acquire(1): initial success
Dummy-1: <_RLock owner=None count=0>.release(): final release
. .
"Dummy-1" - . , / , . .