Building a blog in Django

Thomas Hayes
2 min readJan 29, 2021

I’d like to show you how I built a basic blog where I can post what I’m working on, and show off what I’ve done.

My goal is to flesh this out into a personal website, and use it as a centralized place for my online presence.

To begin with, I used the tutorial here: https://djangocentral.com/building-a-blog-application-with-django/

I had some issues trying to build everything — setting stuff up went well at first, but I misconfigured some files relating to where the html and css were stored (the text/style code).

There were two files named urls.py in different directories, and I modified the wrong one. As a result the test page would not display what I wanted it too, regardless of what I did. I finally figured it out when I deleted everything and restarted from scratch.

I probably could have avoided this by reading things a little more carefully. Moral of the story is, it’s important to pay attention to details when you are building something like this, or else you could waste your time trying to figure out what’s wrong.

So here’s the blog in its rough state.

Right now, it’s very similar to the tutorial page. Next, I’ll be modifying it to look how I want, and polishing it up. To see my whole project, click here: I built a website.

--

--

Thomas Hayes

Programmer, web developer, computer hardware enthusiast. Interested in everything.