Loading lesson path
Create Template After creating Models, with the fields and data we want in them, it is time to display the data in a web page. Start by creating an HTML file named all_members.html and place it in th…
Details Template The next step in our web page will be to add a Details page, where we can list more details about a specific member. Start by creating a new template called details.html my_tennis_cl…
The extends Tag In the previous pages we created two templates, one for listing all members, and one for details about a member. The templates have a set of HTML code that are the same for both templ…
Main Index Page Our project needs a main page. The main page will be the landing page when someone visits the root folder of the project. Now, you get an error when visiting the root folder of your p…
Page Not Found If you try to access a page that does not exist (a 404 error), Django directs you to a built-in view that handles 404 errors. You will learn how to customize this 404 view later in thi…
Django Add Test View