Category: Authentication

Let’s say you are developing a Django app that will be used as part of a bigger Django project. As you’ve learned in the Django tutorial, you want to make that app reusable, so you develop it is a standalone Python package. But an app itself doesn’t run, it has to be part of a […]

In this post I will show you how to set up token authentication with Django REST Framework (or short DRF), with the special twist that each user can have multiple different tokens at the same time. This is not possible with DRF out of the box and needs some custom code. But why would you […]