Login With User Authentication - Django Wednesdays #21

Описание к видео Login With User Authentication - Django Wednesdays #21

In this video we'll start to build out the user authentication system by creating a login page.

Django comes with a pretty nice user authentication system that we'll tap into and use for all of this.


First we'll create a new 'members' app to hold all of our authentication stuff. Then we'll create a login page that allows users to log in.


#django #codemy #JohnElder

Timecodes

0:00​​ - Introduction
2:27 - Create New Members App
3:00 - Add Members App To Settings.py File
3:37 - Add URLS.py file to Members App
4:40 - Add New URL Paths to Old URLS.py file
6:14 - Add Templates Directory To Members App
6:30 - Create Login.html Page
7:26 - Import Authentication to Views.py
8:06 - Add Login_user View
9:14 - Add Login Link To Navbar
9:40 - Add Login URL Path
10:25 - Add Login Form to Login.html
12:13 - Check Django Authentication Docs
13:00 - Add Login Code to View
17:51 - Add Messages To Base.html
18:44 - Add Bootstrap Style To Messages
19:20 - Test Everything
20:00 - Conclusion

Комментарии

Информация по комментариям в разработке