Django Tutorial - User Registration with Email Confirmation #15

preview_player
Показать описание
Welcome everyone to part 15 of the web development in python with Django. In this part, we'll cover how to send an email confirmation using Django when someone registers on our website. You should already be familiar that when we sign up on any website, it sends us the confirmation link where receivers are asked to activate the account and verify the email address. Often when we want to reset, remind or change the account's password, it also emails us such information.

Before starting, ensure that you have the basics of Django and Python. Make sure to create the basic setup of Django and configure your settings; you may use all my Django tutorial series to do that!

#django #recaptcha #programming #educational #technology #web #website
Рекомендации по теме
Комментарии
Автор

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

svysvr
Автор

Nice bro
I have been struggling with this for a few days and I finally got it with this video

imahdii
Автор

Thank you for this helpful video! I was having difficulties with email confirmation, but now it all works!

davon_rolage
Автор

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.

incognito
Автор

Thank you so much! I was looking for this and this video helped me to fix my problem. 👏

xSmHbRtCx
Автор

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!

tatemo_labs
Автор

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 ?

ajilukonche
Автор

we love u from cuba. u save our lifes❤

daironortiz
Автор

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!

RazzTazz-om
Автор

Total wizard. Thank you, subscribed and liked.

darkho
Автор

You solved my problem and earned a subscription.

Vasmir
Автор

thank u sir u really good teacher and v good help GOD bless u

humairaameen
Автор

Good stuff man, Thank you very much!!

yuong
Автор

guys make sure to replace {{ user.username }} with {{ user }} from template_activate_account.html, otherwise the name will not appear in the confirmation email.

burdetiusamuel
Автор

Is six still working? I installed it, but can't access to the file with "import six"

nicko
Автор

thanks for share, that helped me a lot

romanynasser
Автор

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

Takio
Автор

Man, you just saved my ass by that video, thank you

ikehoro
Автор

Thanks a lot...It has solved the issue..

subinkv
Автор

Great! Thank you so much.
put can this work with serializers from Rest framework?

ibrahimsamir