Static Files Pythonanywhere

214 Views Asked by At

When I run python manage.py collectstatic in the bash console I keep getting "python: can't open file 'manage.py': [Errno 2] No such file or directory". But I can clearly see my manage.py file in my code editor, I am a beginner in django and its pretty frustrating. If anyone has any ideas what this can possibly be, I would love your help. Thanks

settings.py

1

There are 1 best solutions below

2
On

You have to run manage.py from the directory that contains the manage.py file.