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.
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?
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.
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.