0
New in django
I am trying to run my first project but on server side I am getting error: 1. Page not found error 404 2. Your're seeing this error because you have DEBUG = True When I change it to false I recieved a new error Command Error : You must set settings.Allowed _hosts if DEBUG = False When I changed it , again I get the first error.
3 Réponses
+ 2
Are you following some tutorials for Django?
Follow The Net Ninja step by step:
https://youtube.com/playlist?list=PL4cUxeGkcC9ib4HsrXEYpQnTOTZE1x0uc
+ 1
Please set the DEBUG to TRUE.. Once you do that, check your terminal for any clues of where the traceback/error is.. if you can't locate it try debugging your code..
0
Ok thanks