Django Tutorial - Login, Logout and User Authentication

  Рет қаралды 133,184

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 53
@abdullahatif7854
@abdullahatif7854 4 жыл бұрын
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.
@zachfenton608
@zachfenton608 3 жыл бұрын
Still tried it but it doesn't like it
@manthanguptaa
@manthanguptaa 3 жыл бұрын
Something acts weird Tim : *chuckles nervously*
@piyush6631
@piyush6631 4 жыл бұрын
Your tutorials are awesome. They're so clear and concise thanks for making them.
@jesulayomy
@jesulayomy 11 ай бұрын
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.
@imadelachiri5475
@imadelachiri5475 3 жыл бұрын
you can solve the problem by using this : {% if user.is_authenticated or request.path == "/login/" %}
@andrektm
@andrektm 2 жыл бұрын
perfect. did it, and its work!
@BLXCKXNG
@BLXCKXNG 2 жыл бұрын
tec with tim, i love you bro!! cheers from Chile
@Wurstfinger-rl1zi
@Wurstfinger-rl1zi 5 жыл бұрын
Django just kicks you everything in da face while with Flask you have to write a jwt authentication yourself... just perfect!
@1nduck
@1nduck 5 жыл бұрын
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?
@TechWithTim
@TechWithTim 5 жыл бұрын
There are two episodes left! The last one will be deployment. Thank you :)
@Noolemans
@Noolemans 3 жыл бұрын
@@TechWithTim Hi Tim, first of all thanks for the tutorials. You have helped out tremendously. Do you still consider making the deployment episode? In any case, thank you
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
@@TechWithTim Ok, that was 2 years ago. Will it happen?:)
@rayganmudberry375
@rayganmudberry375 5 жыл бұрын
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.
@JK360noscope
@JK360noscope 4 жыл бұрын
You are zero and should feel zero. Go take the Google course
@PlaneToTheBrainES
@PlaneToTheBrainES 5 жыл бұрын
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.
@RobThompsonRealtor
@RobThompsonRealtor 3 жыл бұрын
Love your work. Thanks, Tim!!!
@Heresjaken
@Heresjaken 4 жыл бұрын
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
@mennatullahabdelrahman3840
@mennatullahabdelrahman3840 Жыл бұрын
Tim be like: oh it doesn't work? just forget about it hahahah
@weixiangng8279
@weixiangng8279 3 ай бұрын
Nice tutorial you got there, how about implementing LDAP login with active directory?
@kevinbevil6989
@kevinbevil6989 4 жыл бұрын
Suuuper helpful, thanks man
@Didi-jo5gr
@Didi-jo5gr 4 жыл бұрын
your user authentication help me very much. THANKS!
@ariannaschelfi376
@ariannaschelfi376 3 жыл бұрын
Hi Tim! Thank for the video. I have a question: how can I remove the autocomplete from the login fields?
@basmulder3588
@basmulder3588 5 жыл бұрын
Csrf token is a token that prevents cross side request forgery.
@sergey5551
@sergey5551 3 жыл бұрын
Great content!
@rohandarji2001
@rohandarji2001 3 жыл бұрын
In my login form the input fields and labels are not visible. What could be the reason?
@saharamanson1970
@saharamanson1970 4 жыл бұрын
Nice bro keep it up........
@thetruereality2
@thetruereality2 2 ай бұрын
Where do we specify the location of login.html? In your case you created this inside registration folder so auth view function will try to look for template located at "registration/login.html" but I don't see you specifying this location anywhere in url_patterns. Could you explain that a bit ?
@elishashmalo3731
@elishashmalo3731 5 жыл бұрын
Could you make a tutorial series for the library pymunk using pygame? No one has done it yet on YT
@soorajkp9615
@soorajkp9615 2 жыл бұрын
It helped me Thank u
@dewangbhavsar7443
@dewangbhavsar7443 2 жыл бұрын
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.
@menkiguo7805
@menkiguo7805 3 жыл бұрын
Is Django goog to create some app with separated from and back end?
@chidiohiri
@chidiohiri 4 жыл бұрын
The logout function isn’t working! How do I solve this
@arifurrahmanarif241
@arifurrahmanarif241 4 жыл бұрын
if you just type url as 127.0.0.1/8000/logout it will work. For using in template, just use also use csrf token if necessary. you can use it outside a form. i am a noob in django, so there may occur some issues
@abdulwadudkhan684
@abdulwadudkhan684 10 ай бұрын
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
@blackrose3934
@blackrose3934 26 күн бұрын
Hey, I also faced the same issue, but resolved it later on. Someone named @CryseHD actually commented a solution for it on the previous video. You can find it when u go to the newest comments, their comment is the 4th newest comments. I hope that will help you!
@arifurrahmanarif241
@arifurrahmanarif241 4 жыл бұрын
can i add email field in the login form?
@sebastianeckhart6991
@sebastianeckhart6991 3 жыл бұрын
basically 13 min tutorial that doesn't have a useful solution. I dont get why like to dislike ratio is so good
@guyfrd8638
@guyfrd8638 4 жыл бұрын
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?
@rakshanaravindran9809
@rakshanaravindran9809 2 жыл бұрын
After block content give indentation like in python ur problem will be rectified
@drueprofessor
@drueprofessor 5 жыл бұрын
What keyboard do you have
@JK360noscope
@JK360noscope 4 жыл бұрын
Loud af
@surajtyagi676
@surajtyagi676 5 жыл бұрын
Hey tim i am facing an error in html file on "{ % endblock % } " , can you help me out on this?
@thunderpatel6250
@thunderpatel6250 Жыл бұрын
fixed?
@dinindutheekshana2254
@dinindutheekshana2254 3 жыл бұрын
Can i have source code for this
@khmshorts8567
@khmshorts8567 3 жыл бұрын
bro i am not getting login form?how can i solve this?
@sainco3036
@sainco3036 5 жыл бұрын
thanks.
@sergeikrasnovskii9767
@sergeikrasnovskii9767 3 жыл бұрын
Thank you so much man =)) your Tutorial was very helpful ==))) like and subscribe from me =)
@arifurrahmanarif241
@arifurrahmanarif241 4 жыл бұрын
i wonder how come this video has so few likes? didn't people taking CS50 online course got stuck in registration? anyone from CS50 python & django course?
@saharamanson1970
@saharamanson1970 4 жыл бұрын
Nice bro keep it up........
@saharamanson1970
@saharamanson1970 4 жыл бұрын
Nice bro keep it up........
@saharamanson1970
@saharamanson1970 4 жыл бұрын
Nice bro keep it up........
Django Tutorial - User Specific Pages/Access
14:14
Tech With Tim
Рет қаралды 73 М.
Django Tutorial - User Registration & Sign Up Page
25:18
Tech With Tim
Рет қаралды 111 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Log Out With User Authentication - Django Wednesdays #22
7:09
Codemy.com
Рет қаралды 30 М.
Login and Logout - Django Wednesdays ECommerce 7
20:33
Codemy.com
Рет қаралды 18 М.
Django Authentication & User Management - Full Tutorial
2:20:03
Tech With Tim
Рет қаралды 189 М.
Please Master This MAGIC Python Feature... 🪄
25:10
Tech With Tim
Рет қаралды 69 М.
Login With User Authentication - Django Wednesdays #21
21:25
Codemy.com
Рет қаралды 186 М.
Django Login Form and User Authentication
17:01
Dave Gray
Рет қаралды 20 М.
Logging in and Logging Out - Django Wednesdays Twitter #9
16:17
User registration and authentication in Django
58:35
Cloud With Django
Рет қаралды 38 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН