Skip to content Skip to sidebar Skip to footer

Runtimeerror: Populate() Isn't Reentrant On Centos 7 | Django 1.9 | Python3

Im deploying a django application on a intranet environment. I've already set up a testing server and everything is fine (after breaking my head fixing errors). This time, im seti

Solution 1:

RuntimeError: populate() isn't reentrant

In my experience this usually means there is an error in the Django project somewhere. It can be hard to locate. Also, don't forget to restart apache.

When executing makemigrations, only one model file of my 4 apps made the migrations, like if there is only one app

Try pointing makemigrations to the specific app:

python manage.py makemigrations appname

Don't forget to apply migrations afterward:

python manage.py migrate

Solution 2:

For everyone getting this problem, it can be anything, like a wrong django configuration or something with de mod_wsgi. in my case it was that i needed to build python 3 with the --enable-shared tag.

if this is also your case, you can follow this.

Post a Comment for "Runtimeerror: Populate() Isn't Reentrant On Centos 7 | Django 1.9 | Python3"