Django Tutorial - User Registration with Email Confirmation #15

  Рет қаралды 41,967

Python Lessons

Python Lessons

Күн бұрын

Пікірлер: 78
@svysvr4268
@svysvr4268 Жыл бұрын
THIS is the tutorial that drew me to your series. Thank you i really hope your channel blows up and more people get to experience your great way of teaching Django!!!! it was really thrilling to click on my activation link LOL
@PyLessons
@PyLessons Жыл бұрын
Nice, thanks! :)
@imahdii
@imahdii 2 жыл бұрын
Nice bro I have been struggling with this for a few days and I finally got it with this video
@PyLessons
@PyLessons 2 жыл бұрын
Nice, I am glad it helped!
@davon_rolage
@davon_rolage Жыл бұрын
Thank you for this helpful video! I was having difficulties with email confirmation, but now it all works!
@PyLessons
@PyLessons Жыл бұрын
You're welcome!
@Dineshtech-xr8id
@Dineshtech-xr8id 11 ай бұрын
TypeError at /activate/NzI/bxrj0o-9b81ccf4f4c2ad760d8674c3531852dd activate() got an unexpected keyword argument 'uidb64' im getting this error when i click the generated link in my mail.can u give any suggestions
@incognito7350
@incognito7350 Жыл бұрын
You just earned another subscriber. I don't like watching videos. I prefer text. But to support your channel, whenever I go to sleep, I will put your videos playlists in loop. You must get those views. Thanks for the text tutorials on your website. You don't know what you have done for me with those. Once I start earning from these, I must support your channel in much more better ways. Thank you once again.
@PyLessons
@PyLessons Жыл бұрын
Awesome! Thank you!
@tiagobadalo
@tiagobadalo Ай бұрын
Thank you for the tutorial!
@PyLessons
@PyLessons Ай бұрын
My pleasure!
@xSmHbRtCx
@xSmHbRtCx 2 жыл бұрын
Thank you so much! I was looking for this and this video helped me to fix my problem. 👏
@daironortiz5103
@daironortiz5103 6 ай бұрын
we love u from cuba. u save our lifes❤
@PyLessons
@PyLessons 5 ай бұрын
You are welcome, love to hear this!
@yuong8139
@yuong8139 Жыл бұрын
Good stuff man, Thank you very much!!
@PyLessons
@PyLessons Жыл бұрын
Glad to help!
@UmbraBegins
@UmbraBegins 3 ай бұрын
Fantastic video!
@PyLessons
@PyLessons 3 ай бұрын
Thank you very much!
@darkho0
@darkho0 2 жыл бұрын
Total wizard. Thank you, subscribed and liked.
@tatemo_labs
@tatemo_labs Жыл бұрын
Really it worked! I did not know anything of what is explained on this video. I will revisit this for the Django libs used. All the logic for the token is kind of "weird" as I'm totally new to the topic. Overall, thank you sir!
@humairaameen241
@humairaameen241 9 ай бұрын
thank u sir u really good teacher and v good help GOD bless u
@PyLessons
@PyLessons 9 ай бұрын
Thanks and welcome
@humairaameen241
@humairaameen241 9 ай бұрын
@@PyLessons but sir here is some issue in deploying on cpanel have ssl certificate issue what should i do
@humairaameen241
@humairaameen241 9 ай бұрын
Plz help me if u can
@romanynasser4514
@romanynasser4514 5 ай бұрын
thanks for share, that helped me a lot
@PyLessons
@PyLessons 4 ай бұрын
You're welcome!
@MykhailoZinhan
@MykhailoZinhan 11 ай бұрын
Thank you for this video ❤
@PyLessons
@PyLessons 11 ай бұрын
You are so welcome!
@ajilukonche6984
@ajilukonche6984 2 ай бұрын
Thanks sir for making such an amazing tutorial for free. I have a question. Does this work for different emails? Like ,what if we have different users with different emails ?
@PyLessons
@PyLessons 2 ай бұрын
You are welcome. I can't confirm that this is the same for different email providers, you need to check it by your self what provider use use
@Vasmir5
@Vasmir5 2 жыл бұрын
You solved my problem and earned a subscription.
@ericmwangi1204
@ericmwangi1204 2 жыл бұрын
the best django tutorial
@PyLessons
@PyLessons 2 жыл бұрын
Thanks
@subinkv6849
@subinkv6849 Жыл бұрын
Thanks a lot...It has solved the issue..
@PyLessons
@PyLessons Жыл бұрын
No preblem ,you are welcome :)!
@ikehoro
@ikehoro 7 ай бұрын
Man, you just saved my ass by that video, thank you
@PyLessons
@PyLessons 7 ай бұрын
You are welcome! :)
@RazzTazz-o1m
@RazzTazz-o1m Жыл бұрын
But my question is why we have to set is_active to false in register view and not set it straight from the model? Great tutorial, love you!
@PyLessons
@PyLessons Жыл бұрын
Thanks! Yes, it would be better to set it in user model, at the time when I was making this tutorial, didn't thought about that :)
@letsgetcopyright2603
@letsgetcopyright2603 2 жыл бұрын
Just by watching 2:04 video, I am your new subscriber : )
@MARKOTHEDEV
@MARKOTHEDEV 2 жыл бұрын
Very nice video
@PyLessons
@PyLessons 2 жыл бұрын
So nice
@ibrahimsamir9555
@ibrahimsamir9555 Жыл бұрын
Great! Thank you so much. put can this work with serializers from Rest framework?
@PyLessons
@PyLessons Жыл бұрын
Your welcome, I don't have experience with Rest framework, so I can't tell
@nicko9958
@nicko9958 Жыл бұрын
Is six still working? I installed it, but can't access to the file with "import six"
@burdetiusamuel1369
@burdetiusamuel1369 Жыл бұрын
guys make sure to replace {{ user.username }} with {{ user }} from template_activate_account.html, otherwise the name will not appear in the confirmation email.
@Taki7o7
@Taki7o7 Жыл бұрын
It's not good to just make the activate a link. Some email providers might trigger the activate when their spamcheck runs the link. So you have some options. Make a button the user has to click to submit the final activation. Or make it with activation codes instead (which is a bit of additional work in this case). Or you can find a way to read the headers and have a good pattern of spamchecker headers and prevent activation if it's a spamcheck. I don't know how good latter would work. But there must some way, as many big companies also do it with just a link
@hangareducation
@hangareducation Жыл бұрын
Thanks my man
@PyLessons
@PyLessons Жыл бұрын
Happy to help
@OnABudget66
@OnABudget66 Жыл бұрын
Thanks for the great tutorial, which seems to work for me, but the sent e-mail doesn't contain a link, just plain text. Did I miss something? Thank you for commenting.....nearly there 🙂
@PyLessons
@PyLessons Жыл бұрын
Yes, it seems you missed something
@senseibunny3667
@senseibunny3667 Жыл бұрын
thanks awesome tutorial
@PyLessons
@PyLessons Жыл бұрын
Thanks!
@pmateus87
@pmateus87 Жыл бұрын
There's a way to do this without django form just by a request? What are the most important steps to make this email confirmation work?
@laharmendad1936
@laharmendad1936 Жыл бұрын
Thank you sir
@PyLessons
@PyLessons Жыл бұрын
Welcome
@ZhenyangSun-n7d
@ZhenyangSun-n7d Жыл бұрын
yeah i tried on my project but it not works. No email is sent and when click the register button it redirect to homepage not login page(i do code redirect('/login')). Could you please help me to fix it. Thank you.
@ZhenyangSun-n7d
@ZhenyangSun-n7d Жыл бұрын
Other problem is i do imported messages but the page report me an error which said theres no attribute 'success' and 'error' in messages
@ZhenyangSun-n7d
@ZhenyangSun-n7d Жыл бұрын
never mind i fixed my errors. Great video really helpful. Thank u.
@PyLessons
@PyLessons Жыл бұрын
Great that you could find a mistake! :)
@Dineshtech-xr8id
@Dineshtech-xr8id 11 ай бұрын
TypeError: activate() got an unexpected keyword argument 'uidb64' [16/Nov/2023 17:37:31] "GET /activate/ODE/bxrq37-5ecf3b37ccae76481a44878d06733499/ HTTP/1.1" 500 62209 can you help me with this error
@ivanantsipau6993
@ivanantsipau6993 Жыл бұрын
👍👍👍
@NoName-ww8xm
@NoName-ww8xm Жыл бұрын
thx bro!
@PyLessons
@PyLessons Жыл бұрын
Happy to help
@zzzz9665
@zzzz9665 Жыл бұрын
Hey Do I need to deploy my web app for this to work ?
@PyLessons
@PyLessons Жыл бұрын
Not necessary, I recorded this tutorial on win10 and it was not deployed
@ammaralzhrani6329
@ammaralzhrani6329 2 жыл бұрын
Thanks but it doesn’t work with sendgrid
@arunps7281
@arunps7281 Жыл бұрын
SMTPSenderRefuced 😢
@applinet
@applinet Жыл бұрын
I really like this. Very direct and on point. Can i help in increasing more video views through my IT expansion project in Africa coined "FlyAfrica"?
@PyLessons
@PyLessons Жыл бұрын
Love it that you liked it. Can you give me more explanation, what you mean?
@viniciuskrioca
@viniciuskrioca 16 күн бұрын
im gettin [Errno 11003] getaddrinfo failed =(
@doe.prodzz
@doe.prodzz 2 жыл бұрын
i got error 'django.urls.exceptions.NoReverseMatch: Reverse for 'activate' with keyword arguments '{'uidb64': 'MTU', 'token': 'bembdy-3afa0d380f45bedaf916f15784a83c2e'}' not found.' the link inside my domain: {{domain}}{%url 'shopping:activate' uidb64=uid token=token%} my urls.py: " from . import views app_name = 'shopping' urlpatterns = [ path('activate/', views.activate, name='activate'), ] " what's wrong
@doe.prodzz
@doe.prodzz 2 жыл бұрын
oh i fixed it by adding queries into url
@samuelmattos7263
@samuelmattos7263 Жыл бұрын
Could you explain what you mean by adding queries in the urls, cause I get the same error
@Dineshtech-xr8id
@Dineshtech-xr8id 11 ай бұрын
TypeError: activate() got an unexpected keyword argument 'uidb64' [16/Nov/2023 17:37:31] "GET /activate/ODE/bxrq37-5ecf3b37ccae76481a44878d06733499/ HTTP/1.1" 500 62209 can you help me with this error
Django Tutorial - Change, Recover Django User Password #16
27:49
Python Lessons
Рет қаралды 8 М.
How To Send Email With Django - Python Django Dentist Website #7
22:01
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 28 МЛН
User registration and authentication in Django
58:35
Cloud With Django
Рет қаралды 36 М.
Login With User Authentication - Django Wednesdays #21
21:25
Codemy.com
Рет қаралды 179 М.
Setup email authentication in Django
22:01
Cloud With Django
Рет қаралды 18 М.
Django Tutorial #1 - Introduction
7:16
Net Ninja
Рет қаралды 28 М.