App crashed, log says "manage.py: error: no such option: --noreload"
I've tested the app locally, and that's working. But on Heroku, there's a 503, and heroku logs says App crashed "manage.py: error: no such option: --noreload"
I can't find anything in Django's documentation about "manage.py --noreload"
Anyone else have this problem or have as idea as to why I'm getting this error?
Thanks,
Anthony
Answers
I guess I wasn't totally clear in the original question.
This isn't a local error, this is the error I get from heroku logs, and it's referencing my Procfile. The full line in the Procfile is:
web: python manage.py runserver 0.0.0.0:$PORT --noreload
I can run this on my local machine and everything runs fine.
manage.py runserver 0.0.0.0:8000
Didn't you forget "runserver" ? => the complete command is "django-admin.py runserver --noreload"
See https://docs.djangoproject.com/en/dev/ref/django-admin/#django-admin-option---noreload