Improve the 'Write a 404 (page not found) view' section in the tutorial
|Reported by:||anonymous||Owned by:||nobody|
|Severity:||Normal||Keywords:||404, tutorial, allowed_hosts|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm a django begginer, and when I was reading the 3rd part of your tutorial, I saw myself in some troubles when I tried to do what you said in the 'Write a 404 (page not found) view' section. As you said, I changed the 'DEBUG' value to False. But that is not enough, you also have to set the 'ALLOWED_HOSTS' variable after that change.
I consider that you should say that in the tutorial, because I tried everything without changing that value, and obviously it didn't work.
Thanks for your attention, I hope that this helped.