15 | Login, Logout using Django Authentication | by Hardik Patel

preview_player
Показать описание
How to login a authenticated user?
How to user Django authentication system?
How to logout user from the system?

Links -
(Used in few videos to record in some it is used to edit videos)
Рекомендации по теме
Комментарии
Автор

Best tutorial Ever. till now i have watched tutorial which used only inbuilt django login system. Nobody bothered to explained behind the scene things. Thank You hardik so much for explaining how to merge built in authentication and custom redirection.

meetshah
Автор

this is the only tutorial that show how to make a credential errors msg, thank you so much

pablobustamantediaz
Автор

Awesome django entry video! introduce things very explicit and easy to understand. I have to give you thumb up, bro.

chenbi
Автор

Abay yrr Button araam se press kr bhai Jazbaati insaan

syedaqifalirizvi
Автор

So 'base.html' that you extend in login and success is your main web site page?

vladimirmilanovic
Автор

Thank you very much. this was clear and to the point. loved it and have implemented my login page.

karimkazia
Автор

Sir authenticate(request, email=email, password=password) not working, returning value error! give me a solution please! I want to use email instead of username

shaumikghosh
Автор

Hi Hardik,
Thank you for your helping in learn django.

Can I use login and authentications without using inbuilt User model. That means shall i use login function by adding username and password columns to separate employee model.

pinniramakrishna
Автор

can we use our own login template with this example ? I seemed to face issues with that so was wondering

jehan
Автор

My django intelligence ki not working can you pls suggest me how should i enable django intelligence in vs code . Pls pls pls

adityasingh
Автор

I face a problem that I login only superuser. When I try to other user it does not login

HARISINGH-cimr
Автор

Thanks you this tutorial, very informative.

khadimhusen
Автор

please post the video login with registration, the video of login what is created by you is for admin not for the any normal user who get register in the table

suneelsharma
Автор

facing an issue.! always returning into same page while giving valid data also. not going to target page

deepayanpal
Автор

sir how to implement this in ecommerce website

mohit
Автор

In urls.py, path('success', success, name="user_success") giving Name Error that name ''user_success" not defined
Please someone help
Thanks in advance!!

shriyabhonde
Автор

Serializers ke saath login karke btayo

Realness-Behind-Life
Автор

one complete video about, how to prevent back after logout, how to set session to validate login

suneelsharma
Автор

i have done almost the same thing but when i make login nothing happens ! this is my function in the view, my data contains a lot of attributs but i choosed to make the login with email and password, i need help please
def log_in_page(request):
context={}
if request.method=="POST":
email=request.POST['email']

user= authenticate(request, email=email, password=password)
if user:
login(request, user)
return
else:
context["error"]="Provide valid credentials"
return render(request, 'ContratRegister/loginverif.html', context)

else:
return render(request, 'ContratRegister/login.html', context)

ibtihelhacheni
Автор

where is the source code of this project

MsMousalsalat