Django & React Session Authentication and CSRF | Part 2 - Backend Settings

Опубликовано: 15 Февраль 2026
на канале: Bryan Berk
16,194
221

🔥 Subscribe to my YouTube + Turn on Notification Bells!
👉    / @bryanberk  

Hey, Bryan here. I share videos that help web developers up their development skills!

Today I'll be sharing the second part for setting up a session based authentication system that I will help you implement using React, Redux, and Django with the Django Rest Framework. I will also be using Bootstrap for the styling in the application.

This is going to be a session based authentication system with some awesome features:
1. You will see how to implement session authentication in a Django & React app.
2. You will learn about what CSRF is and how we protect against it.
3. You will learn how to use a CSRF Token to protect your login and sign up pages.
4. You will learn how to use a CSRF Token to protect your authenticated API requests.
5. You will learn how to attach a profile to your user which you will be able to update.
6. You will learn how to add functionality for deleting a user through the user dashboard.

In this part, I will be doing a bit of initial setup for the backend, this will include installing packages we need, setting up the Django project, settings up the Django apps, and configuring the database and settings for the Django project.

To stay up to date with the best web development content, make sure you subscribe to My YouTube channel Today!

The final project code can be found at: https://github.com/linkedweb/session_...