Xadmin ModuleNotFoundError: No module named 'django.contrib.formtools'

created at 07-17-2021 views: 4

When using virtualenv (virtual environment) to run Xadmin to run /makemigrations, an error message is displayed:

Xadmin ModuleNotFoundError: No module named 'django.contrib.formtools'

Solution

1. Check whether the django-formtools template is installed in the corresponding virtual environment

pip list

2. Just install the corresponding module.

Please log in to leave a comment.