This is a mid-level tutorial for making Django and React work together. We use JWT to handle the authentication hand-off between the front and backends. The completed code lives on GitHub here and you can just flip through branches to see the code at each step (1–1, 1–2, so on) Django doesn’t like it very much when we modify the User model after it has already been created in the database. To avoid errors we first create our custom user and only then make and run database migrations.