Previous Lesson: Lesson 15: Create a New Page in Django

In the previous lesson, I gave you an assignment or, so to say, a challenge. And, in this lesson, I will create a new page in Django, step-by-step, for you! Here’s our website:

Now let’s start coding!




We added a new link on Line 9.


Create a new file:

Name it about.html:

And start writing your own essay. Remember, it can be about your experiences when you were creating this word count website; you know, the challenges you faced yourself, your mistakes, how you overcame them, and the things that you’ve learned. Or, you can simply tell something brief about yourself:

Don’t copy it! This is mine!



We added a new function block on Line 8 and Line 9.



We added a new path on Line 22.



Finally, let’s click on that ABOUT ME link!

Nice. Click on that RETURN link:

Before we finish this, I think I would like to link those links to their appropriate pages. For example, that
Note: If you don’t have any links on this page, add some!

Add some links!


This image has an empty alt attribute; its file name is Screen-Shot-2020-02-29-at-5.50.05-PM-1024x640.png

Let’s do it:

There! That’s should do it. You should do your own links on your own like what I did above. Refresh the page:

Yeah! We’ve just crushed my challenge! If you’re wondering what Bethel is, just click on that link.

Anyway, was it challenging? Whether it was or it wasn’t, if you did your best to do this challenge without cheating, you are a winner and I still want to congratulate you! So you should be proud of yourself!

Now, let’s move on to our second website! See you there!

Next Lesson: Lesson 17: Introduction to Our Portfolio Django Website

Leave a Reply

Your email address will not be published. Required fields are marked *