#20. Делаем авторизацию пользователей на сайте | Django уроки

#20. Делаем авторизацию пользователей на сайте | Django уроки14:37

#20. Делаем авторизацию пользователей на сайте | Django уроки 视频的下载信息和详情

作者:

selfedu

发布日期:

2021/2/14

观看次数:

81.2K

简介:

In this lesson you will learn how to implement user authentication on a website using Django. You will discover how to check whether a user is already authenticated with the is_authenticated property, how to use the LoginView class and AuthenticationForm, how to set the get_success_url() method and the LOGIN_REDIRECT_URL parameter, and how to use the login() and logout() functions. Additionally, you will learn how to override the form_valid() method to customize the login process.