How to use login_required decorator In Django

preview_player
Показать описание
login_required decorator In Django

What is login_required in Django?
Django's login_required function is used to secure views in your web applications by forcing the client to authenticate with a valid logged-in User

# Djangologinrequired #python #decorators #LearnPython
Рекомендации по теме
Комментарии
Автор

Wow, so simple! and big thanks Sir!!!! It

onardwow
Автор

I tried this but, after one time login it allows multiple time login, I thinkthe browser remembers the login credentials.
do we have some simple method to logout?

centralcodingethiopia
Автор

does this apply to django allauth as well?

joshuakalule
Автор

foda que é sempre um indiano que não tem como entender o que os caras falam kkk eu falo mal inglês mas os caras tem um problema crônico na dicção

zitoeight