Python Django Tutorial: Full-Featured Web App Part 12 - Email and Password Reset

  Рет қаралды 225,296

Corey Schafer

Corey Schafer

Күн бұрын

In this Python Django Tutorial, we will be learning how we can use email to send a password reset link to a user so that the user can reset their password. Users will be able to fill out a form with their email and have a unique token sent to them, and if their token is verified then they will be able to create a new password. Let's get started...
The code for this series can be found at:
github.com/Cor...
Localhost Email Setup:
docs.djangopro...
✅ Support My Channel Through Patreon:
/ coreyms
✅ Become a Channel Member:
/ @coreyms
✅ One-Time Contribution Through PayPal:
goo.gl/649HFY
✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
✅ Corey's Public Amazon Wishlist
a.co/inIyro1
✅ Equipment I Use and Books I Recommend:
www.amazon.com...
▶️ You Can Find Me On:
My Website - coreyms.com/
My Second Channel - / coreymschafer
Facebook - / coreymschafer
Twitter - / coreymschafer
Instagram - / coreymschafer
#Python #Django

Пікірлер: 1 100
@coreyms
@coreyms 4 жыл бұрын
Hey everyone. It seems like since this video was created, Linode has disabled the mail ports by default. So if you are using Linode then you just need to contact them to open the correct ports. You can find more about that here: www.linode.com/community/questions/19082/i-just-created-my-first-linode-and-i-cant-send-emails-why
@adebayoolajumoke6298
@adebayoolajumoke6298 4 жыл бұрын
Hi Corey, could you pleaseeeee do a video on two-factor authentication using Django and using a comment on our blog, please? Thank you.
@Jobin-at-CodingOutright
@Jobin-at-CodingOutright 4 жыл бұрын
Your tutorials are extremely useful!! Gotta ask you one thing, the server actually sending me 3 password reset-request mails in a row instead of one.
@roughr4044
@roughr4044 4 жыл бұрын
@@adebayoolajumoke6298 if you're facing any problem I'd suggest you turn on IMAP/POP forwarding you can do that by :-- settings >> Forwarding and POP/IMAP >> enable IMAP worked for me GL...
@ashutoshmishra5901
@ashutoshmishra5901 4 жыл бұрын
Why my emails are getting into spam and not in the inbox. please respond.
@innoviawork7098
@innoviawork7098 4 жыл бұрын
corey please explain image search Engine.i didn't find anywhere here in better way.i really have to complete my website .please help me.i don't understand the image search engine code.
@elijahmayorov596
@elijahmayorov596 4 жыл бұрын
For those who struggled like me with this email sending tutorial: If you don't receive any email and don't get any error, it seems like Django won't send an email if the email address you submit in the form doesn't match the email registered for the user in the DB (specified in the profile and admin pages). In other words, I had no errors when I was reseting the passowrd but I wasn't receiving any emails neither. After a few hours struggeling, I just changed user email adress so that it matches the one I wanted to send email to and it worked. P.S. Corey, thank you very much for these awesome tuts !
@mkhgkklmnx666
@mkhgkklmnx666 4 жыл бұрын
You my friend are godsend, I have been scratching my head for a while now before I stumble across your comment. Thanks for taking your time to share this.
@elijahmayorov596
@elijahmayorov596 4 жыл бұрын
@@mkhgkklmnx666 you're very well =)
@sarveshyadav01
@sarveshyadav01 4 жыл бұрын
@@elijahmayorov596 thanks you so much..... but can you tell me how we can automatically set the email of people who register.... from registration page?
@sarveshyadav01
@sarveshyadav01 4 жыл бұрын
[𝗨𝗽𝗱𝗮𝘁𝗲] Issue Fixed. 😊
@elijahmayorov596
@elijahmayorov596 4 жыл бұрын
@@sarveshyadav01 how did you fix it ? Just by curiosity =)
@deep433
@deep433 6 жыл бұрын
Better than Paid Udemy courses on Django. I have learnt too many concepts from this series. Waiting for your next series.
@asadullah3168
@asadullah3168 5 жыл бұрын
SMTPSenderRefused at /reset-password/ (530, b'5.5.1 Authentication Required. iam getting this error plzzz if anyone know how to fix this problem plzzz tell me thanks
@ksbisht5808
@ksbisht5808 5 жыл бұрын
@@asadullah3168 do you find any solution.. I got same error as you.. Share any solution..
@zhoutengz2867
@zhoutengz2867 5 жыл бұрын
@@asadullah3168 I think you may need to restart your terminal. It works for me
@topbun1226
@topbun1226 5 жыл бұрын
@@zhoutengz2867 Yup, this fixed it for me. Restart your IDE too, just in case.
@anton-r
@anton-r 5 жыл бұрын
well then make some donation ! if you so enjoy it
@olliewelsh123
@olliewelsh123 4 жыл бұрын
great lecture series. super helpful and getting me through lockdown productively!! Thanks. for anyone using VSCode on windows here's a few nice keyboard shortcuts to speed things up: CTRL + SHIFT + DOWN will create a copy of the line of code you're on directly below CTRL + Enter gets you to a new line regardless of whether your at the end of your code line ALT + Up/Down moves the line of code you're on up or down CTRL + D allows you to change multiple identical words at the same time PEACCCCE x
@TheUSDA__
@TheUSDA__ Жыл бұрын
For anyone who may have had troubles with the error message "SMTPSenderRefused at /reset-password/" the solution is very simple. Google removed the ability to have less secure applications be able to access your information, so what you will need to do: 1. Turn on two step authentication. 2. Go into app passwords, create a new application, and get a password. 3. Go into advanced system settings and create a new environment variable for your email and password. The environment variable names should be equal to EMAIL_USER and EMAIL_PASS in this case. 4. Set the EMAIL_USER equal to your email address and the password equal to the app password that you generated during step two What will now happen is django will use the environmental variables values to log in and send emails. Hope this helps!
@vbxiv5553
@vbxiv5553 Жыл бұрын
Thanks, Mate!
@ashokkhare1227
@ashokkhare1227 7 ай бұрын
Hi thanks for this. I cannot find app passwords though.
@NitinRathod-ws3qy
@NitinRathod-ws3qy 5 ай бұрын
God bless you my friend
@NitinRathod-ws3qy
@NitinRathod-ws3qy 5 ай бұрын
​@@ashokkhare1227just search in google settings you'll see it
@尤圆-i2z
@尤圆-i2z 5 жыл бұрын
I cant believe I spent my entire winter break to learn Python by following Corey's videoes here. These instructions are REALLY wonderful! Also I modified the website to add my personal style and made a lot of mistakes, but by debugging I understood how these codes works better and learnt other models or functions not used in the videoes. Really, thank you Corey.
@coreyms
@coreyms 5 жыл бұрын
That's awesome. Modifying the site is a great way to learn and soak up the information. Great job.
@muhammadsaqibirshadmuhamma1955
@muhammadsaqibirshadmuhamma1955 4 жыл бұрын
Can you suggest me any documentation or tutorial to change my website in real-time? Like if I create a form and check a checkbox, new set fields should appear within the same form without loading the whole form again. Thanks in advance. Also want to learn how can I restrict to load not the whole website page at once. Like we see in KZbin all the comments are not loaded at once... Any suggestions... I wants to say thanks in advance
@yashbhoyar7889
@yashbhoyar7889 4 жыл бұрын
He just shows the expected error and solves it step by step. Hats off to this man .Simplified version of very complex things.
@tebbythomas1809
@tebbythomas1809 5 жыл бұрын
I've followed all 12 parts so far and it's been wonderful! Very well thought out and executed! As many have pointed out, this is actually better than paid courses teaching Django. Thank you so much!
@coreyms
@coreyms 5 жыл бұрын
Glad you enjoyed it!
@legendsanimexy8217
@legendsanimexy8217 Жыл бұрын
​@@coreymscan i still learn from this course ? I guess i am too late
@jasenkosalihovic62
@jasenkosalihovic62 Жыл бұрын
@@legendsanimexy8217 I am learning it all works, I have done this in Bootstrap 5 instead of 4 and had to change few settings to get it to work but besides that it all works and is still relevant. So, I would advise you to go for it.
@НагаевАлександр-ы4ш
@НагаевАлександр-ы4ш 6 жыл бұрын
This course definately should be recommended for anyone who wants learn web development on Python.
@MrGustavCR
@MrGustavCR 6 жыл бұрын
Awesome! This Django series really complements your Flask series very well. I would personally enjoy also to learn some general tips/ideas for Python architecture / design patterns or so from you in the future. An advanced Python Regex tutorial would also be cool. Keep up the great work, Corey ;)
@hacninetushar
@hacninetushar 4 жыл бұрын
I search whole youtube and also some paid courses about python but find nobody like you! You are the best teacher.I have a request to you, please make more videos about Django Project.
@delllatitude299
@delllatitude299 6 жыл бұрын
i have watched a lot of tutorials on udemy and paid training. trust me your 12 tutorials on this series are better than their 1000 paid tutorials :) waiting for next series. please upload :( i can't wait to get more knowledge by you in django.
@danielrousseau6541
@danielrousseau6541 6 жыл бұрын
The amount I have learnt from this series is amazing. You've helped me learn dango, html and some css all in one tutorial series. Thank you
@thomaslochner9068
@thomaslochner9068 4 жыл бұрын
Just wanted to put a note out there, I was getting an error for "SMTPSenderRefused". The reason being that I put my email credentials in an environment variable, but did not refresh my shell (I'm using Linux on WSL). Thus, my environment variables were evaluating to nothing, thus the app could not authorize to Gmail. Usually when you add environment variable(s) you need to close and re-open your terminal to refresh the session. If you're like me as well and had two terminals open (one for running the server, and one for other tasks), make sure to close them both (or as many as you have open). Then you will obviously need to bring the server back up, but that fixed it for me. Hope this helps someone.
@3koozy
@3koozy 4 жыл бұрын
you are an angel sent from the heavens , thanks man you saved my code ;)
@thomaslochner9068
@thomaslochner9068 4 жыл бұрын
@@3koozy Lol! No problem, so glad I could help you!
@jatinjain8860
@jatinjain8860 4 жыл бұрын
I am still getting same error even after I restarted my terminal. Also tried by directly copying the email and password in the code. I have enabled less secured apps as well. Help..
@thomaslochner9068
@thomaslochner9068 4 жыл бұрын
@@jatinjain8860 You're getting the same SMTPSenderRefused error? Are there any more details?
@jatinjain8860
@jatinjain8860 4 жыл бұрын
@3koozy I copied the same code from github and it worked but it failed when I typed it. It is extremely confusing and I still don't understand why it happend. Though for now the code is working.
@MuzzyV29
@MuzzyV29 6 жыл бұрын
I followed along flask series by hand. Flask series helped me breeze through part 4 of this series. I can still follow up at good pace but I want to write by hand to embed the code in my head. Just because of the way you explain things, I now can go to django documentation or a book and follow along instead of freaking out, lol. Thanks for these series. I am impatiently waiting for advanced django
@samuelhill5886
@samuelhill5886 6 жыл бұрын
Corey, that was awesome! I just did the entire 12 step program and learned so much. You're a great instructor. Keep doing you. You're next video should be one that allows users to interact and choose to work with with one another (i.e messaging, reviewing one another, etc). That'd be amazing to work with.
@juanmillord8878
@juanmillord8878 6 жыл бұрын
Your way of teaching is easy to follow and entertaining. Even though the videos were more than 10 minutes I keep going and finished the app. Now I will deploy the app and try to improve it. Thank you, I'm looking forward to see the advance part of this.
@thomasandreasparpoulas9544
@thomasandreasparpoulas9544 6 жыл бұрын
Finished after 18hours. Excellent tutorial. Thank you so much!
@ruturajnawale10
@ruturajnawale10 4 жыл бұрын
I am learning Django for the first time and it's the first time that I don't feel like lost in the desert and searching 10 different videos to learn a framework! Great job Corey!
@Shroomex
@Shroomex 4 жыл бұрын
This is truly a masterful tutorial series. It is expertly explained and goes into sufficient detail to cover even the simplest questions one might have when it comes to building a Django application for the first time. The depth of material covered is sufficient such that there is plenty of scope for one to feel confident in extending the functionality of the App using the Django documentation and other online resources, or building one's own App. I'd be very interested in seeing a tutorial on adding Commenting, Searching and Unit tests. Thanks for the series Corey, this has been tremendously useful!
@hyunkyungkoo1068
@hyunkyungkoo1068 5 жыл бұрын
Thank you SO much Corey! This series is amazing!! I really want to learn about unit testing with this application.
@dmitrybozhko5440
@dmitrybozhko5440 5 жыл бұрын
Finally, I have completed 12th part of Corey's tutorial today. My goodness, what a tutorial! It was presented like a detective story which grabs your attention from the beginning to the end. I was absolutely shocked by the style the author presented the project: plain English, all snippets are readily available, and eye-opening two posts in the beginning, and json's files, and extensive usage of shell, front-end skills, and... explanations where every word counts, and extremely helpful check points all the way through! I am just a beginner in programming and looked around to find a full-fledged Django project to follow. Some of them where helpful indeed, but this one is certainly the best prepared one! Moreover, unlike many others it still works with Django 2.2.7 and Python 3.7! So, it was worthy of every minute I spent on it. Thank you so much, Sir! You are a big talent! Looking forward to watch your other tutorials! Best regards and thanks again!
@bavidlynx3409
@bavidlynx3409 4 жыл бұрын
Hey i need some help with error
@willjw3717
@willjw3717 3 жыл бұрын
I went through this tutorial series a couple of years ago when I needed to learn how to build a Django app quickly, and it really helped. I'm back to using Django again and I have just gone through this series again. Still relevant and still amazing. Love you, Corey!
@NB19273
@NB19273 5 жыл бұрын
Amazing tutorial as always Corey! I used this to learn django for a test project required as part of a job application. Once I get the job ill be sure to donate as theses tutorials are the best out there (including paid MOOCs).
@AbrahamWilson
@AbrahamWilson 6 жыл бұрын
The best Django tutorial on KZbin, easy to understand and everything is broken up nicely, in a understandable fashion, really appreciate you sharing your knowledge.
@coreyms
@coreyms 6 жыл бұрын
Thanks!
@AbrahamWilson
@AbrahamWilson 6 жыл бұрын
@@coreyms Seriously appreciate the effort you put into these tutorial, do you have any advice on how to move forward, to dig deeper into Django. Will you be making more tutorial on Django ?
@coreyms
@coreyms 6 жыл бұрын
Yeah, I am releasing a couple of videos on iterators and itertools and then I’ll get back to Flask/Django deployment
@IRANKUNDAElyssa
@IRANKUNDAElyssa 5 ай бұрын
Better than Paid Udemy Courses. Thanks Corey 👍👍👍👍👍👍👍👍
@EuroPerRad
@EuroPerRad 5 жыл бұрын
Best tutorial on programming I have ever followed!
@Pab666
@Pab666 5 жыл бұрын
Agree with all the comments. I'm halfway done and can't wait to finish. Best step by step tutorial I have taken, thanks a million for sharing this!
@kv7121
@kv7121 6 жыл бұрын
best series for django project ...learnt a lot thanks corey
@paridhigupta2747
@paridhigupta2747 2 жыл бұрын
I'm so happy to create the password reset functionality for the first time. Thanks a lot Corey, you're the best instructor.
@ZEDAWMN
@ZEDAWMN 6 жыл бұрын
Hey Corey! Thanks for this awesome series! I think it is a good idea a video expanding this app with an API using Django-Rest-Framework or Django-Tastypie. Maybe exposing the blog posts through an API or turn the whole app to a web api based application. Thanks again and keep up the good work.
@realdanielpeach
@realdanielpeach 6 жыл бұрын
Please do this Corey
@kumarmayank7577
@kumarmayank7577 5 жыл бұрын
Yes please make django rest framework videos
@sarveshyadav01
@sarveshyadav01 4 жыл бұрын
+1
@Garczek
@Garczek Жыл бұрын
So far I took couple of Django courses, but this one bit them all. The structure of course, explanation of everything in really clear way, there is no moment I'm confused! Amazing job! Be my teacher
@abhishekkaushik6504
@abhishekkaushik6504 5 жыл бұрын
Hey Corey, Thanks a ton for this great series. You could also make a video on how to change database of our web application (from sqlite to mysql or PostgreSQL). Also how to add media files in posts
@sameenfatima5901
@sameenfatima5901 5 жыл бұрын
Hey Corey! Thank you for making this amazing tutorial! I have a job interview tomorrow for Django Developer position and I just finished watching your tutorial. This tutorial has helped me learn so many concepts that other programmers on KZbin didn't cover. You, sir, are a genius. Also, in the future, if you could create a mini tutorial on how to add sessions in Django and how the REST framework is used, that would be awesome! Thanks Corey!
@israphial
@israphial 5 жыл бұрын
Did you get the job?
@sameenfatima5901
@sameenfatima5901 5 жыл бұрын
@@israphial Yes, I did. :)
@israphial
@israphial 5 жыл бұрын
@@sameenfatima5901 whoa, congratulations!! That's awesome!
@realdanielpeach
@realdanielpeach 6 жыл бұрын
If anyone is not able to use environment variables, MAKE SURE YOU RESTART YOUR TERMINAL AFTER SETTING THEM. I spent way too long not being able to figure this out. I am using PyCharm and so even after setting by environment variables, and restarting my external terminal to test, I would then use the ALREADY OPEN terminal in PyCharm to run the server, and it could not find the environment variables. -_- Just close your terminal and restart it. THEN runserver and it will work
@coreyms
@coreyms 6 жыл бұрын
Good point. Should have emphasized that. You can also “source” the file on Linux systems. I’ve spent time debugging issues like this before too
@vivekbhavsar3037
@vivekbhavsar3037 6 жыл бұрын
Thank you sooooo much. I have been messing up this email smtp error for 3 hours. And after reading your comment I restarted my command prompt and thank god now its working. Once again thank you so much :)
@hericbeh8622
@hericbeh8622 5 жыл бұрын
THANK YOU SOO much, i too been stuck on this for quite sometime, but good too cause i spent more time reading into documentations :)
@m.hussien7130
@m.hussien7130 5 жыл бұрын
life saver
@Dubyarex
@Dubyarex 5 жыл бұрын
Thanks!! This should be pinned up top
@tarandeepsingh8704
@tarandeepsingh8704 5 жыл бұрын
Best Django Tutorials I've come across. Fact is, when you enjoy something you watch it till end....that's what happened with me. Thanks for this series. Waiting for some UI design tutorials to improve site's UI.
@tobiasjohansson3238
@tobiasjohansson3238 6 жыл бұрын
Thanks for a great tutorial. It's the best I've seen on youtube by far! Would love to see a tutorial on integrating Celery and a task queue for automated or long-running user-requested tasks on your website. Something I've been struggling to understand.
@Skaxarrat
@Skaxarrat 6 жыл бұрын
Celery and other advanced Django stuff would be great
@srinidhikbhat
@srinidhikbhat 4 жыл бұрын
Thanks a ton Corey! Guys like you make KZbin great. I have learnt a great deal about Web development using Django throughout this series and I've become a fan of your teaching. I came here after taking a Udemy course on Django and the content you put out is 100 times better. Keep up the good work.
@abhinavchavali1443
@abhinavchavali1443 6 жыл бұрын
Can you please make a series on Django_rest_framework or machine learning. Thanks for the tutorials.
4 жыл бұрын
Corey is by far the best teacher on earth.
@azamuray
@azamuray 6 жыл бұрын
Thank you, CoreyMS. I dont know English, but I could understand you without translation. Its better tutorial of Django
@akhrorbekabdukhamitov8872
@akhrorbekabdukhamitov8872 3 жыл бұрын
indeed
@salmanfariss
@salmanfariss 4 жыл бұрын
Inarguably one of the best Python teachers out there. Thank you for these awesome tutorials Corey!
@franciscoantoniofuenzalida7676
@franciscoantoniofuenzalida7676 6 жыл бұрын
that corey ur my best python teacher!
@kshitijchourey441
@kshitijchourey441 4 жыл бұрын
I feel the need to say this every time I finish watching one of your videos. You Are Amazing!
@dodokwak
@dodokwak 6 жыл бұрын
Thanks a lot. As a suggestion for the future: options what to do with static files during production.
@utkarshmarwaha989
@utkarshmarwaha989 5 жыл бұрын
Corey. This was indeed a huge time-saver. The concepts were very well elucidated and the approach taken for setting up the email was also something that came in really handy for me while making changes for production. Thanks once again
@mikeface10
@mikeface10 5 жыл бұрын
How did you get the email to work? I have the 16 digit pw from google but no clue where to use it. Thanks!
@nathan4975
@nathan4975 4 жыл бұрын
For those that are getting a weird “NoReverseMatch” at /password-reset/, I figured out that the password reset routes have to be in the main projects urls.py file. Not any other app’s urls.py file.
@thelovedoctor22
@thelovedoctor22 Жыл бұрын
can you type it here
@kennesbitt8060
@kennesbitt8060 4 жыл бұрын
Yo Corey, just a quick note to say you are an excellent teacher. Thank you for your very detailed explanations, you are very perceptive and seem to anticipate all of our questions before we have them! Well done and keep up the good work!
@akshatlal7061
@akshatlal7061 5 жыл бұрын
Those who got this error : SMTPSenderRefused at /password-reset/ 1. Go to your google account Settings. 2. Search for "Less secure app access" and turn on the access. And then retry the password reset process.
@saanvisingh5339
@saanvisingh5339 5 жыл бұрын
It is not helping bro
@akshatlal7061
@akshatlal7061 5 жыл бұрын
@@saanvisingh5339 well, it works for me
@marufurrahman8274
@marufurrahman8274 4 жыл бұрын
​@@akshatlal7061 bro after turn on less secure app access even now it's not working
@ahmadirfan7840
@ahmadirfan7840 4 жыл бұрын
the more I get, the more I learn, I feel more confident. thanks, Sensei Corey.
@jiaxianglim1267
@jiaxianglim1267 5 жыл бұрын
For everyone who has SMTPSenderRefused at /reset-password/ issue, I am using Ubuntu 18.04 and this solved the error for me 1. Head into your python shell by running python manage.py shell 2. Check whether your environment variables are loaded by running the below code import os print(os.environ.get('EMAIL_USER')) # or any other name you gave your variable 3. If it does not return your email then it is highly likely that your OS refers to another file when loading environment variables; in my case it is .bashrc instead of .bash_profile 4. Carry out the steps to save your email and password as shown in Corey's video but save it to .bashrc instead of .bash_profile Corey's video to save environment variables: kzbin.info/www/bejne/a5q6mYSNi72iqbc
@MaverickQbiak
@MaverickQbiak 5 жыл бұрын
thank you!
@zafarabdurasulov1001
@zafarabdurasulov1001 5 жыл бұрын
I didn't understand 3rd and 4th part. Where is .bashrc and .bash_profile?
@bismeetsingh352
@bismeetsingh352 5 жыл бұрын
But i hardcoded those values and still doesnt work
@confrariaquantum3989
@confrariaquantum3989 3 жыл бұрын
Although this tutorial is from 2018, I enjoyed and learned a lot today (2021). Congratulations on the EXCELLENT tutorial and the way you teach.
@kamranhussain4606
@kamranhussain4606 5 жыл бұрын
please add message system ,comment and feedback system; Awesome videos and very helpful thanx
@james2529
@james2529 4 жыл бұрын
Corey thank you so much for all these. I promise as soon as I get my first coding related job I'm sending money your way. This has been amazing.
@m.farhanzia9712
@m.farhanzia9712 6 жыл бұрын
Hi Corey im getting this error SMTPSenderRefused at /password-reset/ help me to resolve it Thanks
@ayushmanbhardwaj9884
@ayushmanbhardwaj9884 5 жыл бұрын
Hello, I'm also getting this error. Did you managed to solve it?
@yaqubhussaini3820
@yaqubhussaini3820 5 жыл бұрын
@@ayushmanbhardwaj9884 same here. Did you solve it
@jeremijaredramos1228
@jeremijaredramos1228 5 жыл бұрын
I just finished the whole series and it is awesome. I learned a lot. Keep it up, Corey!
@ShivamDubeymike
@ShivamDubeymike 5 жыл бұрын
Hey Corey, I wanted to know that where do you create the file where you put your environment variables like HOST USER and HOST PASS, it would be of great help thanks Your Content is mind blowing
@2024comingforyou
@2024comingforyou 3 жыл бұрын
put them in your projects settings?
@ZanabizR
@ZanabizR 6 жыл бұрын
Brilliant series! With a project at work that involves Django this has been released at the perfect time for me. I always enjoy your tutorial videos as they are so detailed and provide the real life examples that are needed to learn. I will be greatly looking forward to the advanced Django videos as well as any other future content.
@usama.nasar18
@usama.nasar18 4 жыл бұрын
I am not getting password reset email. There is no error but I am not getting emails. Can anyone help? By the way, I didn't get ConnectionRefused error before doing the settings.py file changes.
@musaddiqhabib3508
@musaddiqhabib3508 3 жыл бұрын
hey how you solve this issue?
@tuganimanaemmanuel7232
@tuganimanaemmanuel7232 3 жыл бұрын
@@musaddiqhabib3508 Hi Habib this happens to me also, Let me tell you what you did wrong, you are trying to update the password for an email which doesn't exist. what you have to do first login as admin and check if that email exist for a particular user, if not you will need to update any user with the email that you wish to use on resetting password test. if this work for you please like my comment cheers
@simp-ran
@simp-ran Жыл бұрын
@@tuganimanaemmanuel7232 This is very helpful thank you!
@arash0909
@arash0909 2 жыл бұрын
Your work is outstanding Corey, its a shame that you aren't posting any new tutorials. I have watched a lot of tutorials by others and yours is the best by far. Code with Mosh is probably 2nd best. Hope to see content from you soon. Thank you for your help so far
@rojomalobog
@rojomalobog 5 жыл бұрын
You should male a video showing how to create the google password it's confusing
@sarveshyadav01
@sarveshyadav01 4 жыл бұрын
0.Login to google Account 1. Go to security[on left] 2.turn on less secure app access [off by default] 3.Go and hardcode your email and password in settings. py like this: EMAIL_HOST_USER='YourEmailId' ' EMAIL_HOST_PASSWORD='YourPassword' Done, Have a Nice day :). . .
@james2529
@james2529 4 жыл бұрын
@@sarveshyadav01 You made my day, thank you.
@sarveshyadav01
@sarveshyadav01 4 жыл бұрын
@@james2529 😉😉
@deepikadasara8238
@deepikadasara8238 4 жыл бұрын
@@sarveshyadav01 Thank you!
@priyaprasad1124
@priyaprasad1124 4 жыл бұрын
@@deepikadasara8238 ...even after changing in setting i didn't received the mail , can you help me
@glaceondev4149
@glaceondev4149 4 жыл бұрын
i have learned a lot from you even 2 udemy courses didn't taught me these stuffs like you.love ya man
@ksjempire1957
@ksjempire1957 5 жыл бұрын
i keep getting an SMTPAuthenticationError at /password-reset I NEED HELP PLEASE
@ArkFreestyle
@ArkFreestyle 5 жыл бұрын
Did you fix it? I'm getting the same error. Already set up two factor authentication and I'm using my generated app password....
@ArkFreestyle
@ArkFreestyle 5 жыл бұрын
Oh, false alarm, I set up two factor authentication and the app password on the WRONG gmail account lmao. Fixed it and boom, it works now.
@vardadio
@vardadio 5 жыл бұрын
when happened to me the problem was that i had to close and open again the window power shell. When i tryed to read the einvironment variables from shell (python) they were always "None" ...after closing and opening again the windows power shell everything worked....
@laxmikantsuryavanshi2297
@laxmikantsuryavanshi2297 5 жыл бұрын
@@ArkFreestyle how you set up app password cause when I tried I'm still getting an error I've two factor authentication to my account and I requested an app password and then in app name I passed my project name Django_project but it didn't work
@divyanshsaxena6279
@divyanshsaxena6279 5 жыл бұрын
Finished both Django and Flask series. This has been a great learning experience for me. Thank you so much Corey :) Eagerly waiting for videos on testing Flask and Django web apps.
@ardyubanos9226
@ardyubanos9226 5 жыл бұрын
Can anyone give me some advice? SMTPAuthenticationError at /password-reset/ keeps on occurring. Thank you in advance!
@dawah7556
@dawah7556 5 жыл бұрын
@@Neeoooo did it worked for you??
@dawah7556
@dawah7556 5 жыл бұрын
@@Neeoooo thanks man it also worked for mee..
@momozkichutney
@momozkichutney 3 жыл бұрын
@@Neeoooo it did not worked for me..
@apingsample4720
@apingsample4720 5 жыл бұрын
Best django tutorial in youtube! Thanks for these great and free videos corey!;)
@sumanshekhar3933
@sumanshekhar3933 6 жыл бұрын
Hey Corey thanks for this awesome series.. Actually when i was doing password reset functionality by using your videos i stuck and not getting the meaning of EMAIL_HOST_USER= os.environ.get('EMAIL_USER') EMAIL_HOST_PASSWORD= os.environ.get('EMAIL_PASS') I am new in django. when i write all the code in settings.py and send email then it give us error like SMTPSenderRefused at /password_reset/ (530, b'5.5.1 Authentication Required. Learn more at 5.5.1 support.google.com/mail/?p=WantAuthError r187sm135776102pfc.63 - gsmtp', 'webmaster@localhost')
@AnkitTiwari-lu2tt
@AnkitTiwari-lu2tt 5 жыл бұрын
@@Mikhail.Warner Hey @Hayley i tried doing thesame but still issues isnot resolved i am getting the same error
@AnkitTiwari-lu2tt
@AnkitTiwari-lu2tt 5 жыл бұрын
Suman did you resolve your error
@lostname605
@lostname605 4 жыл бұрын
Copy the "OTHER EMAIL SETTINGS" part and adjust to your addresses: www.linode.com/community/questions/437/django-smtprecipientsrefused-sender-address-rejected-not-owned-by-user The problem is that django sends your emails from "webmaster@localhost", which google won't allow. Django does not automatically set the 'FROM:' equal to the email credentials of your server.
@momozkichutney
@momozkichutney 3 жыл бұрын
@@Mikhail.Warner how to set environment variables.. I ain't getting it. Please excuse me if I am asking noob ques. Appreciate your help.
@momozkichutney
@momozkichutney 3 жыл бұрын
@@lostname605 I did it.. It is not working now also... Many people are saying something about app password also.. I got my app password but I am not getting where I have to set it up. Can you please help me Or share the code if you know.. Appreciate your help.
@user-tx1ip
@user-tx1ip 6 жыл бұрын
Finally finish this series ,from zero knowledge about Django :) SEP-14-2018.Thank You Corey!! PS: I think it is a good idea to learn Flask (from Corey,of course) first, and then Django,IMHO. at least that is what I did.
@paulmcdonald9473
@paulmcdonald9473 4 жыл бұрын
These Django tutorials are excellent - best I have found!! Thank you so much.
@alexanderten5497
@alexanderten5497 6 жыл бұрын
i am so amazed . 171 likes including mine and only 1 dislike. the quality is like sky level. Best tutorial ever
@mahdijafaree5332
@mahdijafaree5332 6 жыл бұрын
These tutorials are awesome! Thx alot, I hope you keep these series untill advanced steps because I couldn't find some advanced topics on django.
@Saradomin65
@Saradomin65 5 жыл бұрын
Loved this django tutorial playlist that you've made, although I still don't understand all of the concepts yet but will surely study it. Thanks man, you're an angel in disguise.
@wolfisraging
@wolfisraging 6 жыл бұрын
Thanks soo much, your videos are seriously valuable on whole KZbin. Can't wait to see more Django tutorials.
@sunathkhadikar6287
@sunathkhadikar6287 4 жыл бұрын
Corey Your videos are soo good. Your content is great, way of explanation great. U dont hide the error and try to explain why it occurs. Next thing the comment section threads are so helping at times. Even if u r struck somewhere there is someone facing the same problem and the community helping out the fellow learner. Best experience of online lectures so far. Kudos for the series. Love from india.
@djsamke384
@djsamke384 6 жыл бұрын
Finished!!! Thank you Corey. You're the best back-end teacher of the django framework. Passed every step except the smpt authentication. But its OK I don't have time to go look it up. I have to start and finish a react native project
@saequus
@saequus 6 жыл бұрын
Great job as always. I applause to you from Moscow.
@doniyorabduvokhidov1706
@doniyorabduvokhidov1706 4 жыл бұрын
I am gonna tell al lot of thanks for you. The things you covered in these series are incredible. Really thanks one more time. I will donate you once i get my first job..
@beltaxxe
@beltaxxe 5 жыл бұрын
This series was awesome, can't wait for more. Thanks Corey!
@vocalwhirls
@vocalwhirls Жыл бұрын
Hey corey thank you for this tutorial. kind of figured it out how to resolve errors and finally made it work. its really nice
@arunpradeep2190
@arunpradeep2190 4 жыл бұрын
Thank you so much sir. This is the one of the best Django tutorial I have ever seen
@thetechbros6285
@thetechbros6285 6 жыл бұрын
Finish watching all the vids for the series. Thank you so much! Very helpful. Looking forward to the next series 🙌
@mlb030
@mlb030 6 жыл бұрын
Thanks, Corey! I learned so much. You are an excellent teacher. Thank you for taking the time to make these videos. I look forward to what else you have in store for the future!
@Skaxarrat
@Skaxarrat 6 жыл бұрын
I'm glad I did every video of the series. Thanks for the content!
@hashtagdatascience6024
@hashtagdatascience6024 4 жыл бұрын
Thank you ,Really one of the best django series, waiting for more.
@jorditrigo9569
@jorditrigo9569 3 жыл бұрын
An awesome tutorial. Thank you very much, Corey. Looking forward for more, I just became addicted to this channel!
@kysit02
@kysit02 6 жыл бұрын
Awesome stuff, Corey. If you do continue with this series, I'd love to see more details on how to implement Python logic into the html of the site, and how to override bootstrap to make things more customizable. Thanks again!
@romanbaron5928
@romanbaron5928 4 жыл бұрын
Thank you so much Corey. This was the best tutorial I have followed ! and I have watched a lot of them...
@videogamesvideogamesvideog214
@videogamesvideogamesvideog214 5 жыл бұрын
You really inspired me, thank you. I think you should add a 'how to add fellow users' and 'how to have followed users posts displayed in your timeline' (would be a great continuation of the series!)
@vincentkizza1993
@vincentkizza1993 5 жыл бұрын
Thank you very much Corey for the great tutorials. Just finished the dev series,now off to deployment. Thanks again
@amroulouay6819
@amroulouay6819 Жыл бұрын
In 21:55, for people who are using bootstrap 5, for left it's ms-2 and for right it's me-2
@suryamanipandey8002
@suryamanipandey8002 3 жыл бұрын
So finally I can say that I completed the project, tysm Corey. It is a great tutorial and it really helped me . I would say It's not easy actually it is hard and tricky both but the way of your explanation really made it a lot easier to grab. I would definitely help you through whatever means I can when I get the job. And always a huge supporter and admirer of you. Thank You !
@moebazzi8412
@moebazzi8412 6 жыл бұрын
AMAZING AND CLEAR TUTORIALS WELL DONE COREY!!!
@victoradukwu2719
@victoradukwu2719 6 жыл бұрын
Awesome Corey. Thanks a million for this tutorial series. Very helpful.
@KushanVora
@KushanVora 5 жыл бұрын
Can't wait for the next part of this series.
@stylerx9
@stylerx9 4 жыл бұрын
You're better than paid courses on Udemy. Fantastic!
@davidgrigoryan8351
@davidgrigoryan8351 4 жыл бұрын
@Corey Schafer please make further videos for comments on the blog and async requests. Can't even describe how great your tutorials are!
@yuriyarin4027
@yuriyarin4027 3 жыл бұрын
If anyone is getting a bit tired of copy-pasting, remember that if you hit alt+shift+down arrow the text editor will just copy that line of text for you into the line below. If you really like copying and pasting, you can also triple click to select the whole line instead of having to drag the mouse across.
@amirshehzad3352
@amirshehzad3352 6 жыл бұрын
Learnt a lot from the series. Thanks again for your efforts.
@isaacnyakoi5115
@isaacnyakoi5115 5 жыл бұрын
Hello Corey. Your django tutorials are definitely the best tutorials I have ever watched. I was already familiar with most concepts you have taught but I must say you have fostered my understanding to another level. Do you mind doing tutorials on Unit testing and django-rest-framework in the near future?
@zokistoilov
@zokistoilov 6 жыл бұрын
Awesome work here, absolutely love the series. Would love to see comment section for the blog in django. Thanks again.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 23 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 48 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 39 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 12 МЛН
Python Django User Registration - Full Tutorial
17:41
Dave Gray
Рет қаралды 12 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 60 МЛН
How To Send Email With Django - Python Django Dentist Website #7
22:01
Django Tutorial - Change, Recover Django User Password #16
27:49
Python Lessons
Рет қаралды 8 М.
Python Django Tutorial: Full-Featured Web App Part 11 - Pagination
37:01
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 415 М.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 23 МЛН