Django 2.0 Tutorial 3: Writing First View to Display Hello World

Video is ready, Click Here to View ×

In this video we will write a view function which displays “Hello World” in web browser. In django views is where our program’s logic goes. It can retrieve data from database using QuerySets and save data in the database. It can render a template and display data in web browser in desired way.

There are two types of views in django and they are class based views and function based views. What we did here is function based view. After you write a view function you need to map it to an url….

Leave a Reply

Your email address will not be published.