I created a project named testdj, and under the directory /tmp/python-test/testdj/testdj/, I want to create a django app, so I use the below command:
aircraftdeMacBook-Pro:testdj ldl$ python manage.py startapp TestModel
python: can't open file 'manage.py': [Errno 2] No such file or directory
But the the upper error, can't open file 'manage.py' there.
I find the stack overflow, there is some the same error, but they are not when creating app occurs.
/tmp, it'll be wiped the next time you restart your machine.testPro, you know it will generate the/testPro/testProlike this directory hierarchy, and if I create the APP, should I under the/testProor/testPro/testPro? I am not sure.