Django Tutorial - Login, Logout and User Authentication

preview_player
Показать описание
This django tutorial covers how to create a login and logout page and how to validate/authenticate users. We will simply need to modify djangos built in auth application to do this.

◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python

◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

Tags:
- Tech With Tim
- Django Tutorial
- Django Login
- Django Logout
- Django Python
- Python Tutorials
Рекомендации по теме
Комментарии
Автор

Dude ! You are awesome.
I was stuck at the login redirect problem for days and you just solved it in about 6 minutes.
Love you for that.

abdullahatif
Автор

you can solve the problem by using this : {% if user.is_authenticated or request.path == "/login/" %}

imadelachiri
Автор

If your /logout route shows a method not allowed error (access denied), Django 4.1 deprecates logging out via GET.
Djangoproject docs uses a form (with csrf) with a button styled as a link.

jesulayomy
Автор

Your tutorials are awesome. They're so clear and concise thanks for making them.

piyush
Автор

Something acts weird
Tim : *chuckles nervously*

manthanguptaa
Автор

Tim, you are doing great job. please make more and more videos on python. coz python is everywhere these day. please make zero to hero python course. thank you. god bless you buddy.

rayganmudberry
Автор

Django just kicks you everything in da face while with Flask you have to write a jwt authentication yourself... just perfect!

Wurstfinger-rlzi
Автор

Not sure why but for some reason Django was giving an error saying that it could not find the file under mysite/main/registration - I moved the folder into that location and it works

Heresjaken
Автор

Hello tim the way you add crispy in previous i follow it but it gives same error all time I try to resolve it but I can't do that I saw documention of django but it doesn't work plzz make a video on it or tell me how to do it I am gonna piss off from last video

abdulwadudkhan
Автор

Tim, I wish you the best with your youtube channel. May I ask you if you've finished this django series and, if so, how many more episodes are left?

nduck
Автор

tec with tim, i love you bro!! cheers from Chile

BLXCKXNG
Автор

In my login form the input fields and labels are not visible. What could be the reason?

rohandarji
Автор

I'm doing everything the way Tim shows but I can't get my form to display the Crispy format. Anyone can help? I can share my code.

dewangbhavsar
Автор

Minute 11:11, why is it not redirecting to the login page on the Login Here link? Great content. Keep up the good stuff.
PD: Okay, I understand now. I leave the question just in case someone has the same doubt.

PlaneToTheBrainES
Автор

basically 13 min tutorial that doesn't have a useful solution. I dont get why like to dislike ratio is so good

sebastianeckhart
Автор

Hi Tim! Thank for the video. I have a question: how can I remove the autocomplete from the login fields?

ariannaschelfi
Автор

your user authentication help me very much. THANKS!

Didi-jogr
Автор

Csrf token is a token that prevents cross side request forgery.

basmulder
Автор

Is Django goog to create some app with separated from and back end?

menkiguo
Автор

a little problem for me i can't use crispy. I mean if i use the tim's code i have this error "Could not parse the remainder: '│crispy' from 'form│crispy'" and if i use {% crispy form %} crispy works but my buttons doesn't work. Any idea?

guyfrd
welcome to shbcf.ru