执行命令:python manage.py makemigrations aaa,报错如下:
The field xxx.xxxx.xxxxx was declared with a lazy reference to 'aaa.aaaa', but app 'aaa' isn't installed.
处理办法:
进入xxx app文件夹,进入migrations文件夹,删掉除__init__以外其它所有文件,重试即可。

执行命令:python manage.py makemigrations aaa,报错如下:
The field xxx.xxxx.xxxxx was declared with a lazy reference to 'aaa.aaaa', but app 'aaa' isn't installed.
处理办法:
进入xxx app文件夹,进入migrations文件夹,删掉除__init__以外其它所有文件,重试即可。