When prompted ModuleNotFoundError Django Data Migration: No module named 'users'

Not able to find the corresponding APP when performing data migration, the following error:

This error is largely due to the path can not be found, simply add the app file path in the settings folder to

sys.path.insert(0, os.path.join(BASE_DIR, 'apps'))

Guess you like

Origin www.cnblogs.com/icewky/p/12364717.html