DEV Community

Discussion on: What Happens When You Type in a URL

Collapse
 
jjokah profile image
John Johnson Okah

Nicely simplified..
But what of in the django world?
something like:
when you type a url, it checks out

  • urls.py which leads you to views.py
  • then views.py does a magical combo (with models.py and and others)
  • and finally gives you a HttpResponse (probably as a template .html)
Collapse
 
wsvincent profile image
Will Vincent • Edited

Well stated. That's about how I'd describe it as well. I think that flow is one of the hardest things to internalize for Django newcomers: you need 4 independent files to create one dynamic web page!