bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/Django

Django

Display Data

Display Data focused on Django Prepare Template and related concepts.

Lesson 1visual

Django Prepare Template

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…

2 min
Read lesson →
Lesson 2

Django Add Link to Details

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…

2 min
Read lesson →
Lesson 3

Django Add Master Template

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…

2 min
Read lesson →
Lesson 4

Django Add Main Index Page

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…

2 min
Read lesson →
Lesson 5visual

Django 404 (page not found)

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…

2 min
Read lesson →
Lesson 6visual

Django Add Test View

Django Add Test View

2 min
Read lesson →