2 factor authentication is a great step in increasing account security on your site. With django it can be fairly easy to setup once you know how to do it. To start off in this video we will take a look at the django-otp package and get a bit of a quick demo before we dive into a full implementation.
We can login and logout plus register. Now just need to be able to save off data for our users so we can alert them with a text message. We also need to do it in such a way that we don't accidentally allow other users to access a users profile data.
We can now login, logout and work with our password be it a reset or a changing it. The biggest hole in all of this is actually having an account in the first place. In this video we want to create a new user, and since we are building in alerts we need an email address to send alerts to. So we are going to require the email address.
Since we can log in and logout what about managing our password? Learn the power of using the builtin Generic Class Based Views now in django.contrib.auth. They are simple to use once you know about them.
This is the first in a long series on creating a CryptoCurrency management site, but first we need to lock things down so people can't see all of our stuff. So we will start by setting up our app and logging in and out. We will do this with the new Class Based Views in django.contrib.auth system.
In our final video we end with saving data to the database over our API. This gives us a working react app with django and django-rest-framework to be able to retrieve and add todo items. With the end of this series you will have the knowledge to do all the basic react things to write almost any application.
We have our django project our react project, now we are starting our API so the two can interact with each other and we can work with data.
To reinforce the ideas we have learned lets see just how easy it is to move state of a component from being inside the component to being used by redux. We will move the AddTodo component we created away from using state to use redux to give us more flexibility, and the ability to more easily integrate with an API.