描述:按照原书在settings的installed apps中加入sorl-thumbnail后同步数据库显示No module named 'sorl-thumbnail'
解决方案:
根据官方文档:
“Add sorl.thumbnail to your settings.INSTALLED_APPS.”, 其实应该将sorl.thumbnail 而不是sorl-thumbnail加入apps
sorl.thumbnail
settings.INSTALLED_APPS