Greetings all,
I finally finished developing a Django website.
In the terminal I checked:
> python manage.py check --deploy
There were no errors and the program was ready for deployment. I even ran a:
> python manage.py runserver
There were also no errors on this end. Upon successfully porting the website to Heroku, I unfortunately got a 500 Server Error and then after editing, a 400 Server Error. I resolved the 400 Server Error by returning to the terminal and doing the following:
>python manage.py collectstatic
This resolved the 400 Server Error after pushing the data to the Heroku Master. Sadly, the 500 Server Error remained. I did a bit more research and discovered that 500 Server Errors usually arise from a syntax error in an HTML file or external file. I sifted for hours and did not find a syntax error.
Could there be an alternative fix to the 500 Server Error that appears on the website? Does anyone know how to fix this? At this point, I feel as though I spent months developing this website for nothing.
Please help if possible. Thank you!
- Lightning Bit