Django give Error 500 for all static files like CSS and Images, when DEBUG is False

This is expected behavior. Django does not serve static files or media files in production. You should configure nginx, etc. to serve files. As is specified in the Static file development view section of the documentation: This view will only work if DEBUG is True. That’s because this view is grossly inefficient and probably insecure. … Read more