How to fix Python Django stops working with RuntimeError: populate() isn’t reentrant?

To fix Python Django stops working with RuntimeError: populate() isn’t reentrant, we can make a change to django/apps/registry.py.

To fix this, in django/apps/registry.py, we change

raise RuntimeError("populate() isn't reentrant")

with

self.app_configs = {}

Leave a Comment

Your email address will not be published. Required fields are marked *