#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.