Dropping Tutorial Paralysis, Building a Django Blog From Scratch

Peter Babalola, Tue 21 April 2020, Django

blogging, challenges, django, guest, Heroku, pybites, tutorial paralysis

Have you ever wanted to create awesome stuff with Django like making your own blog or any other app but don't know where to start? Or are you tired of taking lazy tutorials?

I found myself in the same situation but all it really takes is to get started with Pybites challenges, Stackoverflow and Github.

My story

I've been "learning" and "programming" in Python for a while now, but I still find it very difficult to build projects.

I've always wanted to build because I think that I don't have enough knowledge and experience to make them happen.

I've learned enough to be able to help others in my school and workplace from time to time, but I still get distracted by the next shiny package I hear about on a podcast or twitter.

What changed

Fortunately I saw Pybites' challenge post.

When I looked at it, I thought this challenge was tough, but I was determined to give it a try.

Today I can't believe I solved the challenge even beyond the scope of what was asked.

For the challenge I created a Django blog, which you can modify to your taste. I believe it's a great way to start your django journey.

The main piont here is: you need to get started, persist through, and work with what other developers have created, contributing back to open source.

Do those things and you will be among the best developer out there.

Lessons learned

I learned that it's one thing to build a Django app locally, it's another thing to be able to successfully deploy it for production.

I also learned the basics of the bootstrap framework.

Some challenges I faced:

This project itself was a real challenge for me!

Overcoming these challenges

I overcame these challenges through a lot of research online and patience.

My passion for solving problems and building solutions made me persist through.

Blog sample

Blog features

As you can see I had quite a lot of fun:


  1. Clone this project on your machine from Github here

  2. cd into the project directory

  3. Create a virtual environment: python3 -m venv myvenv

  4. Activate myvenv source myvenv/bin/activate

  5. Install requirements pip3 install -r requirements.txt

  6. Run python manage.py makemigrations

  7. Run python manage.py migrate

  8. Create a superuser for admin access: python manage.py createsuperuser

  9. Finally run python manage.py runserver and navigate to localhost:8000


To use the full text search postgresql functionality, you must have postgresql installed on your system and change your default project database settings in settings.py:


    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),


    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': '<your_db_name>',
        'USER': '<postgresql_user>',
        'PASSWORD': '<your_db_password>',

Keep calm and code in Python!

-- Peter Babalola

(Cover photo by Rosie Kerr on Unsplash)

Is tutorial paralysis preventing you from building your big dream project in Python? Don't procrastinate on a successful programming career, book a strategy session with us now.

PyBites Python Tips

Do you want to get 250+ concise and applicable Python tips in an ebook that will cost you less than 10 bucks (future updates included), check it out here.

Get our Python Tips Book

"The discussions are succinct yet thorough enough to give you a solid grasp of the particular problem. I just wish I would have had this book when I started learning Python." - Daniel H

"Bob and Julian are the masters at aggregating these small snippets of code that can really make certain aspects of coding easier." - Jesse B

"This is now my favourite first Python go-to reference." - Anthony L

"Do you ever go on one of those cooking websites for a recipe and have to scroll for what feels like an eternity to get to the ingredients and the 4 steps the recipe actually takes? This is the opposite of that." - Sergio S

Get the book