Closed arpit456jain closed 3 years ago
@harshita2216 when I change debug to False the home page is not loading it shows server error 500 .
I don't understand why it is happening do have any idea.
Because in all the project i added 404 handler their home page is loading
I just run python manage.py collectstatic interminal and now its working but it creates a lots of files which i can not commit that's why i discard my changes .
Conclusion : app is working fine just when debug is False it is not loading Css which causes 500 error it will be solved by running python manage.py collectstatic when hosted
I just need your permission to add 404 handler code
Currently when user try to go any page which is not present it shows
Even if I changed debug to False it shows
That Means There is no code to handle 404 error and there is no 404 page
I would like to add the code and 404 page