I'm porting a site from django 1.6 -> 1.8, and getting deadlock (no errors) at load time. The problem is that apps.populate is getting called twice and hanging on the lock. This is from executing "python manage.py help". There are lots of moving parts, but a trace shows something like this:
django.setup -> apps.populate -> import cmsplugin_zinnia -> django-cms discover_plugins -> load templates -> django-multisite template loader -> get site-id from locmem cache -> django.db.models.base.model_unpickle -> apps.populate Since apps.populate isn't reentrant, and hangs when called recursively, it might be nice to have it throw an exception instead. Can anyone suggest which component is most at fault above? Any insights appreciated. John -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3ffbe0a8-7f9c-4ad8-bd40-ce24daa0939f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.