You can use windows cmd to do so. Try the command there. First goto command prompt. After opening the command prompt, goto your project directory. E.g, if your project directory name is myDir and it is present in a folder myMainFolder, then in command prompt write this command
cd myMainFolder/myDir
Then there run the command
python manage.py makemigrations
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…