In the previous lesson 3, we talked about Models. I hope you have got the general idea of Models. If not, I will use models in this lesson as well so you can go back and forth to understand the concepts of Django. In this lesson 4, we will talk about Views in Django. Remember our MVC design pattern in lesson 2?
Views are what we want to show on our website. You write Python code and link it to an HTML file. Super easy!
PROJECT BLOG:
We will start from scratch so you won’t get confused with all the changes we have made in our last lesson. Everyone starts with a Blog website, why not do the same? It’s relatively easy to understand and covers a lot of Django stuff.
So to start a new project you can see lesson 1 or follow below:

https://medium.com/python-in-plain-english/lesson-4-web-development-in-python-views-and-templates-in-django-f85348d3cc7b

#python #django #web #web-development #programming

Web Development in Python: Views and Templates in Django
1.55 GEEK