migrate versus makemigrations with a thinking emoji

What’s the difference between the migrate and makemigrations command in Django?

When writing applications for relational databases such as MySQL or PostgreSQL, there are two things to keep in mine: The first is the structure of the database itself. This includes things such as the tables, fields and relationships…
django and docker logos with a picture of a spider
, ,

How do you debug a Django application that is running in Docker?

Students of our advanced course on building REST API's often ask: How can I use my editors integrated debugging tools when running Django in Docker? It may surprise you, however personally I avoid using any integrating debugging tools where…

JSON Web Tokens vs Token Authentication

What is the difference between JSON web wokens (JWT) and token authentication? We get this question a lot in our Build a REST API Beginner and Advanced courses. JSON web tokens (JWT) and token auth are two different types of authentication. Token…
Traditional vs Single Page websites
, ,

Traditional vs Single Page websites and which language to learn

This post is an answer I gave to a student on my Udemy course: Build your own Backend using Django REST Framework. A summary of the question was: What is the difference between single page and traditional websites, and which language should…
,

Setting up PostgreSQL database with a Django Docker application

In this video, I’ll show you how to set up a PostgreSQL database with a Django Docker application. This post follows from a previous post which shows you how to Dockerize a Django REST Framework project. Both videos were inspired by my course…
Beginner’s Guide to Python – Lesson 10 – Packages

Beginner’s Guide to Python – Lesson 10 – Install packages

Welcome to the Beginner’s Guide to Python! This is video #10 in the series. In this video, I’m going to show you how to install and use packages in Python. If you have any comments or questions, let me know in the comments below or on Youtube. Subscribe…
Beginner’s Guide to Python – Lesson 9 – Virtual Environments

Beginner’s Guide to Python – Lesson 09 – Virtual Environments

Welcome to the Beginner’s Guide to Python! This is video #9 in the series. In this video, I’m going to show you how to use virtual environments in Python. If you have any comments or questions, let me know in the comments below or on Youtube. Subscribe…
Fixing Git Bash Vagrant issue
, ,

Fixing Git Bash Vagrant issue

The following steps will fix the issue where the blank shell input appears after running `vagrant ssh` on Windows 10: This bug appears to be caused by a conflict between the ssh executable that comes with vagrant and the one that comes with…
Beginner’s Guide to Python – Lesson 08 – Dictionaries and For Loops

Beginner’s Guide to Python – Lesson 08 – Dictionaries and For Loops

Welcome to the Beginner’s Guide to Python! This is video #8 in the series. In this video, I’m going to show you how to use dictionaries and for loops in Python. If you have any comments or questions, let me know in the comments below or…
Beginner's Guide to Python - Lesson 07 - Lists and sets

Beginner’s Guide to Python – Lesson 07 – Lists and sets

Welcome to the Beginner’s Guide to Python! This is video #7 in the series. In this video, I’m going to show you how to use lists and sets in Python. If you have any comments or questions, let me know in the comments below or on Youtube. Subscribe…