Migrating an application to multi-tenancy

Going from a database where all information from all users/teams is mixed to an application that uses multi-tenancy to separate the information per user can be quite difficult. Especially if those users created a bunch of data already. In this article, we will go over the steps I took to migrate my SaaS to a multi-tenancy structure.

read more

Django User Model

In this article, we will go over the Django User Model. We can overwrite and extend it with AbstractUser or AbstractBaseUser, but what options do we have? How can we customize it and how can we use it?

read more

Django Rest API

A Django Rest API is a combination of the definition Rest API (Application Programming Interface) and the Django Framework. In this article, we will go over the features of the Django Rest Framework (short for DRF) and we will also create an example.

read more

Gitignore for a Django project

If you are using Git for version control, you need a Gitignore file to ignore all files that don’t matter and shouldn’t be in your git repository. Think of your virtual environment and all the .pyc files. Those are both generated and can be generated by anyone that has access to your code. Therefore, it’s unnecessary to add those to your repository.

read more