Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What file or module actually generates "It worked" in Django tutorials?

Tags:

python

django

I have started Django tutorials and got message "It worked! Congratulations on your first Django-powered page." I'm trying to make a connection between what I have completed and results, and I cannot figure out what file or module actually generates this message.

like image 784
OpenCV_fan Avatar asked Mar 25 '26 05:03

OpenCV_fan


1 Answers

The default 404 debug view, which handles requests that don't match any configured url, recognizes that you've made no changes to your url configuration. Instead of a technical debug response, it shows you a nice welcome page.

The code can be found in django.views.debug.

like image 92
knbk Avatar answered Mar 26 '26 19:03

knbk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!