Forums

django tutorial 'permission denied'

I have just started following the django tutorial in python anywhere. I have only got as far as 'creating an app inside the Django project' and followed the instructions: cd mysite ./manage.py startapp myapp

at this point I get a message saying './manage.py: Permission denied'

help?

Sounds like execute permissions haven't been set on the script for some reason. After the cd mysite step, try running the following:

chmod u+x manage.py

Then continue on to run manage.py as per the instructions.

Alternatively you can also just use manage.py like this:

python manage.py startapp myapp

We should create the manage.py script with the correct executable bit already set really...