1👍
✅
Don’t know about why the static files were not being retrieved, but the DEBUG = False
500 error was simply caused by my ALLOWED_HOSTS
setting, and fixing that produced no further issues.
0👍
I would try to print out settings while running under gunicorn and see if your media URL is correct and js files are indeed accessible.
As for 500 error it is probably trying to show you 404 page, but you do not have a template for it, so it raises 500, and old django quirk 😉
PS. This all is assuming that you verified that you have correct URL pattern in that error
- [Answer]-How to install Django through subversion in Windows 7?
- [Answer]-Django can't get to index page after I get to archive page
- [Answer]-Cloning Django models or add a differentiating field in the second model?
- [Answer]-Need to add view list anchor tag for another model in django admin
- [Answer]-Could django update foreignkey use SQL?
Source:stackexchange.com