Categories
Python Answers

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

Spread the love

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 = {}

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

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