id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 10737,Hard to find bug in code created by the tutorial,MateusJustino,nobody,"Hi, I just spent hours trying to find a bug. I was in the #django IRC channel and a few people were helping me. We were all stumped. I googled a bit too. Only after setting up an smtp client was the cause of the bug apparent. So, I'm asking that the tutorial be updated so that others will not have be so frustrated as I was. http://docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tutorial03 Section: ""Write a 404 (page not found) view"" The problem was that my 404.html template was being skipped over and it would throw a 505 error. This only happened when DEBUG was set to False. It was caused by the parsing of urlpatterns and no dummy views defined for 'results' and 'vote'. The views for results and vote were not called, but a 500 error was thrown when they were not defined anywhere and it was actually a 404 for any mistyped URL. Note: The mistyped URLs that generated the 404s would not match the regexp rules for running the results or vote methods. Email me if this is not clear. Peace.",,closed,Documentation,1.0,,invalid,"urlpatterns, debug",,Unreviewed,0,0,0,0,0,0