Don't forget to check out my Complete Django course! dub.sh/NvGboTI
@AdrianHconnection4 жыл бұрын
For those of you facing the reset-email-sent-but-not-received issue. Make sure the email address, which you're entering into the reset field, actually belongs to a registered user. The clue is in the success message: "... if an account exists with the email you entered." So, if you're entering your own email address as a test, make sure you register a user with your email address.
@21williand4 жыл бұрын
Thanks!!!
@sabasiddika4 жыл бұрын
why the two email addresses are different that is given in settings file and reset field?
@karthickjayachandran48254 жыл бұрын
@@sabasiddika The email you specify in the settings.py file, is the sender's mail ID, where the one you enter in the reset field is the recipient Mail ID.
@rajeshkumarsivaprakasam21594 жыл бұрын
Ade Enga bro did you solved? i am facing sampe error help me?
@syrgakomuraliev4 жыл бұрын
@@karthickjayachandran4825 So does it mean that I have to have 2 real accounts to check ?
@deansaban65742 жыл бұрын
for anyone having trouble with gmail's "less secure" policy, this video has the new way of doing it: kzbin.info/www/bejne/qXTWfpmCm5aAisk
@simeonmwangi40332 жыл бұрын
you save the people from the future
@tayeolaniyan5372 жыл бұрын
This worked for me. Thanks so much
@newmasuda2 жыл бұрын
Thank you very much. I really appreciate you.
@syedadilfazal65884 ай бұрын
this video is not available anymore
@TwistIO6 ай бұрын
Thank you for the course, still one of the best Django content on KZbin.
@MrYoklmn4 жыл бұрын
Крутое видео. Сейчас буду воплощать) Денис, спасибо, круто!
@DennisIvy4 жыл бұрын
Пожалуйста 😊
@САМГАДсамгадович3 жыл бұрын
@@DennisIvy значит все таки россиянин ) говоришь совсем без акцента, выдает только имя с фамилией. Запиши видео о том как оказался в америке, интересно было бы послушать
@jodikurniawan37324 жыл бұрын
best tutorial in django, change my mind !
@roctanweer22653 жыл бұрын
Corey Schafer
@denniskiplangatcheruiyot22722 жыл бұрын
I really appreciate your assistance its awesome, wish i had met you earlier. I salute Dennis
@liamg38063 жыл бұрын
Amazing tutorial! Your explanations are not too fast, nor too slow.
@alasermohamad3 жыл бұрын
EVERY THING I WANT TO LEARN AND DO IN MY PROJECT IS HERE IN YOUR DJANGO PLAYLIST THANK YOU A LOT FROM SYRIA BIG THANKS
@anishamalblanco73863 жыл бұрын
You are doing an amazing work my brother Dennis. Thank you . Extremely grateful. Supporting from Nepal.
@Skaxarrat Жыл бұрын
Stellar course Dennis. Simple and to the point.
@vinaykumar-kg9ed4 жыл бұрын
your tutorials are amazing...please make a video on user account activation through code by email instead of urls in django it will be very helpful ...thanks
@MuhammadUsmanShahid8 ай бұрын
Amazingly Explained, Thank you Dennis for this great effort of yours 👍👍👍👍
@Juanagogoolives3 жыл бұрын
Best django course ever !!!!!!!!!!!
@AhmedRakan-y3v4 жыл бұрын
Dennis you are a legend mate!
@DennisIvy4 жыл бұрын
Haha I appreciate that :)
@khazartalibov79114 жыл бұрын
You are the best teacher for me
@alejandromoreno99604 жыл бұрын
Hi Dennis! Great tutorials! I hope you read this and I just wanted to ask if you can make a tutorial to convert all your function views in class based views!! It would be great!
@rutviktak7164 жыл бұрын
Been following this series and yes,i did learned a lot and understood better from this series😊 Thanx man 🤗
@roniDM.054 жыл бұрын
love your wok on this series thanx Mr Ivy.
@hadjermohabeddine76454 жыл бұрын
Really thank you for this tutorial it is really helping me with my project
@mahdinasirsoltani3657 Жыл бұрын
The problem is that google has deleted the "less secure apps option" and that fix is no longer accessible, I would be glad to hear your recommendation...
@deez_dev7 ай бұрын
there is a way around this without using google apis. you can enter your google account and make an app password and use it instead of the password. you must make 2-Step Verification and then you will see App Password, generate one and you are good to go, just replace it with the actual password in you application.
@OmarHernandez-fk3hk5 ай бұрын
@@deez_dev Hello, i tried it but didnt work. App password is like 4 words with spaces but didnt work, if you could help me would be great
@weixiangng82795 ай бұрын
Your videos are great. I do follow your code and tutorials but my email has not received any mails for forgot password in django. Can advice?
@abduboriy50432 жыл бұрын
gmail less secure function has recently closed to turn on by Google, what i can do else in order to get email without "SMTPServerDisconnected" error
@bxtiyarqarasov85594 жыл бұрын
Very good explanation and also your topic choice is awesome.
@DennisIvy4 жыл бұрын
Thank you :)
@fabiof.deaquino47314 жыл бұрын
Great and Useful Explanations. Well done!
@doniyorabduvokhidov17064 жыл бұрын
Greetings from Uzbekistan! Спасибо за классное видео!!
@DennisIvy4 жыл бұрын
My pleasure! Thank for saying hello :)
@syrgakomuraliev4 жыл бұрын
приятно видеть соседа, я из Кыргызстана
@ericmarquez46452 жыл бұрын
Hola Dennis, thank you for this tutrorial, waiting next tutorial
@StarboyAP9 ай бұрын
Great Tutorial!!!! Can you please send the source code link? The link in the video description is not working.....
@VedanttMehtaa4 жыл бұрын
Reverse for 'password_reset_confirm' not found. 'password_reset_confirm' is not a valid view function or pattern name.
@bhuvanasindhae70484 жыл бұрын
hy @Dennis Ivy am getting a error like TimeoutError at /reset_password/ [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond when i am trying to reset my password
@byanju_4 жыл бұрын
same here... did you found out the soulution?
@bellosegun4 жыл бұрын
Wow...Wow...Wow.... God bless you....Been following your vids...Love from Nigeria....
@DennisIvy4 жыл бұрын
bello segun thank you!
@jhoanmartinezsilva26093 жыл бұрын
Hi Dennis, Please a video in how to override the forms by default in django, please, i have done a couple but i would like understand in deep how to, your teaching skills help us aaa lot, thank you fur your mission
@mIPhoneShere4 жыл бұрын
I must be missing something, because when I submit to send my password, it does the POST request to /reset_password/ followed by "GET /accounts/password_reset/done/" which misses my 'reset_password_sent/' view. If I type the url path manually: "/reset_password_sent/" it works as expected and displays my custom template.
@mIPhoneShere4 жыл бұрын
I also just finished visiting the code repository and copying exactly what was there. Still no luck. Visiting the paths manually works. Did Django change this already?
@mariomargjini10624 жыл бұрын
i have the same problem. I dont know how to fix it. If u have found a way pls tell me.
@kaam8h4 жыл бұрын
hey man, awesome tutorials! how many videos are going to be in this series and when do you think it will be wrapped up? Absolutely love the way you explain everything clearly
@DennisIvy4 жыл бұрын
Thank you! I'm finishing up with hosting a live database, putting our static files into AWS S3 buckets and finally putting up the project on a Heroku Server.
@kaam8h4 жыл бұрын
@@DennisIvy looking forward to it! Keep up the great work
@hshs5102 жыл бұрын
I'm trying the secure method of saving the email id & password in Env variables but it isn't working. I get SMTPSenderrefused. Authentication Required error. I'm able to print their values & hardcoding the id and password also works. Is there a way to do it securely?
@7hours7323 жыл бұрын
Worked like a Charm
@madhavzala94923 жыл бұрын
Hey Dennis, I completed this course until this video with you about 2 months ago but when I run the project I get the error: FileDoesNotExist from django.db.models.fields somewhat like that Please help!!
@davidafonso535910 ай бұрын
Super!! Thankyou so much! How would be implemented without templates? For exemple with React JS? And how could I test it with Postman?
@yousufaley2 жыл бұрын
Thank you, sir, this tutorial is awesome.
@ariesjakaradytiamustika88214 жыл бұрын
Big thanks from indonesia dennis, u made my days :)
@paolaqendraj94043 жыл бұрын
Thank you for this awesome tutorial. Is there any way we can modify the email? For example change the subject or write a customized email body. Thanx :)
@ShubhamMishra-gc5ow4 жыл бұрын
great lecture Dennis thank you very much. and one thing you new series video is private ??? why?
@abdulqadar9580 Жыл бұрын
Amazing Tutorial
@stephendoamekpor1671 Жыл бұрын
Hi guys, this is what I get when I submit an email for password reset " Reverse for 'password_reset_confirm' not found. 'password_reset_confirm' is not a valid view function or pattern name. " .........Any help?
@hopesain5065 Жыл бұрын
Google no longer provide less secured apps option 😢😢. Any alternative?
@deez_dev7 ай бұрын
there is a way around this without using google apis. you can enter your google account and make an app password and use it instead of the password. you must make 2-Step Verification and then you will see App Password, generate one and you are good to go, just replace it with the actual password in you application
@kwonkwon74602 жыл бұрын
excellent tutorial!
@pooryakh79692 жыл бұрын
you saved me days buddy! Thanks
@MarsLanding914 жыл бұрын
Thanks Dennis!
@naveenkumawat45714 жыл бұрын
Thank you Dennis Ivy sir, for all this video lectures of django 3. I have gained a lot of new things in the journey of learning django
@بلقاسمالمامون3 жыл бұрын
You are doing just great bro god bless u
@richluetoure53862 жыл бұрын
Thank you very much for this section. As am writing this comment Google had disable (allow less secure app) feature due to security reasons, even though I did what exactly what @Ade Enga said, but still not working for me. so now what should I do? or will this work if this was hosted on a real webserver ? Thanks
@PM-cv4sq3 жыл бұрын
idk what is the problem but i keep getting this error "SMTPServerDisconnected at /reset_password/". I looked over the whole internet but nothing seems to help :( Any advice?
@eugencius Жыл бұрын
Great tutorial, helped me a lot, as so the comments here!
@mahmudsajib86484 жыл бұрын
Hi, thanks for the great tutorial again. 1 Question : Suppose I have 10 users on the website & each of them wants to reset password. How do we make this functionality? From your tutorial it seems only 1 person(administrator) can reset password since his email is put into SMTP configuration.
@DennisIvy4 жыл бұрын
Good question :) You missed one thing. The email that we set in the SMTP configuration is the email that will send the password reset message. Django needs us to provided a sender, BUT the password reset email will be sent to the email which the user provides in the form. Sorry i didn't explain that better :)
@mahmudsajib86484 жыл бұрын
@@DennisIvy thanks for your explanation
@shivamm34013 жыл бұрын
I got error when accessing "reset_password", what does it mean? SMTP AUTH extension not supported by server
@sreemannarayana39422 жыл бұрын
Great tutorial.
@-ghost-43 жыл бұрын
Very helpful thank you! do you have a tutorial about posting a form and saving in admin based on a model ?
@FahadAlSumman4 жыл бұрын
I appreciate your efforts, and you have a good explanation for this issue regards,
@DennisIvy4 жыл бұрын
Thank you :)
@muneerahmed26294 жыл бұрын
Hi Dennis, I'm simply not able to connect the postgres to AWS. I followed all your instructions yet it says "Error Saving Properties. Unable to connect to server: timeout expired." Any ideas why I might be getting this error. Any help would be much appreciated! Thanks.
@DavranbekSabirbayev4 жыл бұрын
super tutorial thats all of works which you explain,
@hamidrajabi87753 жыл бұрын
great teacher. Thanks a lot.
@avadhootautade91223 жыл бұрын
Great Tutorials man!!!!!!!!!!! Can you please share your own notes?
@SA-es5gs3 жыл бұрын
This is a amazing video, thank you
@leviathan____3 жыл бұрын
Great tutorial. U re best
@mohamnedgh52444 жыл бұрын
Now the page of saying we have sent an email pops up but nothing send to my email at all!!.
@aldrinsaurovsarker51593 жыл бұрын
because you have to use the exact email which is used to create user account
@paolo133053 жыл бұрын
Try to declare DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
@peanutsee3 жыл бұрын
You need to make sure the email exists and that the user has that email. Otherwise, django email will fail silently!
@ashleyadrias4 жыл бұрын
Great video! What are the other methods beside SMTP? Do we have to create an email address?
@lambertnjambe65173 жыл бұрын
Thanks for the tuto ! It is amazing ! I can fetch the message from my console but not able to send an email , my django version is 3.1.4 !
@Magistrado19144 жыл бұрын
Excellent course 26/07/2020
@theswan128494 жыл бұрын
great explanation .. Thanks guru
@vickinomwesigwa49364 жыл бұрын
Hi thanks for the tutorial, I can't seem to get past the error Reverse for 'password_reset_confirm' not found. 'password_reset_confirm' is not a valid view function or pattern name. I have cross checked my url paths and everything should be okay but for some reason its failing
@ninou54464 жыл бұрын
I had the same bug before, to fix this you have just to write the same code denis wrote in main urls file (crm1/urls.py) and you need to add in the templates folder a folder named registrations that has inside a file with the name password_reset_email.html (it's the email that will be sent to the usert to reset his password) you can check my repo on github to see how I did it github.com/Ninou01/customer-relationship-management-system/blob/master/crm1/urls.py
@kingsleyezennia929711 ай бұрын
Please i need assistance with my gmail....the app password worked once and since i keep receiving an error saying 421, b Service not available.....i have my internet connection activate and all but i still get this errors
@kunalsharma-zc2ho4 жыл бұрын
Nice tutorials !...Hey please make some content on search Box with paginations.
@DennisIvy4 жыл бұрын
Thank you! Coming soon :)
@primuspilus29244 жыл бұрын
Great tutorial! Thank you! Спасибо!
@romit58674 жыл бұрын
i am getting this error SMTPServerDisconnected at /password_reset/ Connection unexpectedly closed: [WinError 10054] An existing connection was forcibly closed by the remote host
@louzynerd1294 жыл бұрын
Check if u have the EMAIL_HOST_PASSWORD in settings.py right. Cause somehow I managed to make it EMAIL_USER_PASSWORD and also managed to spend an hour or so to actually find my mistake -.- Hope it
@louzynerd1294 жыл бұрын
i turned on less secure email and it still doesn't work :/
@petermulhall70053 жыл бұрын
Hi Dennis, is there a reason why you didn't include the 'Update Customer' link in line 12 of the customer page? Update Customer
@MrYoklmn4 жыл бұрын
Денис, а ты сможешь сделать видео с подтверждением мэйла и телефона? И чтобы только с этим активировался аккаунт
@DennisIvy4 жыл бұрын
Да, у меня другие спрашивали тоже. Мне надо перво другие видеос с делать перво. Потом доберусь до этой :)
@MrYoklmn4 жыл бұрын
@@DennisIvy Спасибо! Буду ждать)
@anasbhih51142 жыл бұрын
I'm having a problem overriding the default templates with my custom ones. I followed the tutorial bus still doesn't work
@deepakrajpurohit65454 жыл бұрын
django.urls.exceptions.NoReverseMatch: Reverse for 'password_reset_confirm' not found. 'password_reset_c onfirm' is not a valid view function or pattern name. it gives me this error i watched everything but it is not solving please help me
@torbenkorte11564 жыл бұрын
I have the same problem, did you find a solution for it?
@torbenkorte11564 жыл бұрын
found it :-) had an app_name in urls.py
@deepakrajpurohit65454 жыл бұрын
@@torbenkorte1156 can u explain
@sumitthakur72164 жыл бұрын
Yeah I got same error
@nourhacker37344 жыл бұрын
If you have the app name in your urls.py file then it might cause a problem. I had the app name in that file throughout the tutorials and I always had to make changes to the code in some parts in order to make it work properly. For example, when calling a url dynamically I had to add the app name before the name of the url, so instead of doing this : {% url 'create_customer' %} I would do this : {% url 'accounts:create_customer' %} where 'accounts' is the name of my app. Unfortunately I was not able to overcome this when it came to resetting emails. So the only solution I had was to move the name of the app in the urls.py file from top to bottom (at the end, after all the urls are defined) and now it works fine.
@eduardogarcia24214 жыл бұрын
Great video!! thank you so much. I have a question thou, how would I go about changing the email template?, the website im building is in spanish and I need to change the email sent template to be in my language, I justo don't know how to access it to changed it and still send a one time link to reset the password.
@shakilahmmed49324 жыл бұрын
Please Make Videos On Class Based Topics , Custom Query Set, Manager , MIddleware
@andrewpoldjacobocastillo3084 жыл бұрын
Muchas gracias !! , eres bastante bueno en lo que haces
@bemigho2 жыл бұрын
Hi Dennis , Do know another way to make the email less secure, because the settings is no longer available
@realdaly2 жыл бұрын
Yeah I've just tried it and google disabled that option, did you find any alternatives?
@bemigho2 жыл бұрын
@@realdaly I stoped learning django. I'm into typescript now
@realdaly2 жыл бұрын
@@bemigho no way! I was just thinking of ditching django and learning php laravel 😂
@bemigho2 жыл бұрын
@@realdaly why not typescript. It's the real deal
@realdaly2 жыл бұрын
@@bemigho I'm not familiar with it, I'll look it up. However, from where I am companies mostly work with php and need php developers more.
@TheAremoh4 жыл бұрын
Well explained. Thank you.
@JohnnysaidWhat4 жыл бұрын
If anyone is getting "'password_reset_confirm' is not a valid view function or pattern name" let me spare you the pain I went through: First off this probably is happening because you included app_name = 'accounts' in your urls.py file. Name spacing is a good thing you're not doing anything wrong. 1. In the main app (the one that has settings.py) add this to urls.py: path('accounts/', include('django.contrib.auth.urls')), 2. In settings.py make sure you have this as your TEMPLATES variable it doesn't have to be exact, the important part is the "DIRS": TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", "DIRS": [os.path.join(BASE_DIR, 'templates')], "APP_DIRS": True, "OPTIONS": { "context_processors": [ "django.template.context_processors.debug", "django.template.context_processors.request", "django.contrib.auth.context_processors.auth", "django.contrib.messages.context_processors.messages", ] }, } ] 3. In the top most directory (same level as the accounts app folder NOT inside it) create a folder called templates and inside that create a folder called registration. Add the following files inside the registration folder. I will also include a quick hint for each because the names confuse me all the time: password_reset_form.html - forgot your password?... password_reset_done.html - we've emailed you instructions... password_reset_email.html - the actual email message in your inbox password_reset_confirm.html - please enter your new password... password_reset_complete.html - the password has been changed! I have each file example in a simple little repo here: github.com/sojohnnysaid/django-auth-reset-views edit: made sure to link this series in the github repo and shout out to Dennis who is awesome
@sofistoyanova71214 жыл бұрын
I solved it only by adding this line: path('', include('django.contrib.auth.urls')) to the main app urls.py. But anyway thank you for the answer, I thought I am the only one with this error
@ninou54464 жыл бұрын
I had the same bug before, to fix this you have just to write the same code denis wrote in main urls file (crm1/urls.py) and you need to add in the templates folder a folder named registrations that has inside a file with the name password_reset_email.html (it's the email that will be sent to the usert to reset his password) you can check my repo on github to see how I did it github.com/Ninou01/customer-relationship-management-system/blob/master/crm1/urls.py
@alpii64702 жыл бұрын
Thanks, bro!
@wengallbi_td Жыл бұрын
@@sofistoyanova7121 thanks bro
@salvationmatters84482 жыл бұрын
we can obtain an 'app password' from gmail, which can be used instead of the real password. I think it would also solve the malicious attempt thing.
@fahadfoysal6644 жыл бұрын
Nice explanation, carry on...
@DennisIvy4 жыл бұрын
Thank you 🙏
@johnmendoza70774 жыл бұрын
Great! You are the best! Thnks
@Hard_Tackle4 жыл бұрын
Hi Dennis, Please what does this error mean? cursor.close() sqlite3.ProgrammingError: Cannot operate on a closed database. I can't run any of the code anymore. That's the same error that keeps popping up
@DennisIvy4 жыл бұрын
Are you customizing your own SQL Lite database? I've never seen this error but from the looks of it your are trying to create your own connection.
@Hard_Tackle4 жыл бұрын
Solved it...I think it had to do with a virus/python error on the system I was using. Everything just started falling apart. So I closed that user account and copied all the templates and .py files that were not django default files onto a new user account
@masoodmass45753 жыл бұрын
Great Tutorial!!!!! I was able to get the email, I'm using a username to login but when I log in with the same username that is linked to that email, It doesn't take the new password. can you please help?
@pavansai21822 жыл бұрын
Instead of making it using less secure enabled you can create an app in your google account at security page by enabling 2 step verification
@AmirhomayounSalehi22 күн бұрын
hi i have a NoReverseMatch at /reset_password error when i want to go to reset password confirm page!
@yousefiazkco1440 Жыл бұрын
for Less secure app access..Using Security=>App passwords=>set smtp password
@fevzig21172 жыл бұрын
i only get the mails when the User has a gmail Account Email. Does it only work for gmail Accounts or also for others like outlook?
@mustaqmohammad76864 жыл бұрын
Great Tutorial!!!!! I was able to get the email, I'm using a username to login but when I log in with the same username that is linked to that email, It doesn't take the new password. And also I don't get the last page Complete.html, can you please help?
@abysebastian97084 жыл бұрын
To all the people who are having problem with updateOrder do this. Clear database and redo makemigration and migration it would resolve that problem.
@dissolvesoftware4 жыл бұрын
Create a playlist for the Django tutorials so that they are easily accessible
@talhashakil82454 жыл бұрын
He has already made a playlist of Django
@ankurjolaniya4 жыл бұрын
Hi I am getting this error. "Reverse for 'password_reset_done' not found. 'password_reset_done' is not a valid view function or pattern name." Please help...
I had the same bug before, to fix this you have just to write the same code denis wrote in main urls file (crm1/urls.py) and you need to add in the templates folder a folder named registrations that has inside a file with the name password_reset_email.html (it's the email that will be sent to the usert to reset his password) you can check my repo on github to see how I did it github.com/Ninou01/customer-relationship-management-system/blob/master/crm1/urls.py
@abdelrhmanahmed13783 жыл бұрын
how to prevent logged in user from type reset password url and reset password ,should i create class based view and inherited from PasswordResetView and restrict that ,or there is another way !?!
@andrealizethpacaguifiguere63144 жыл бұрын
Hola @Dennis , Hola a Tod@s, necesito ayuda por favor, tengo este error y no se como puedo solucionarlo, alguno tendría alguna idea?? Exception Type: gaierror at /clients/password-reset/ Exception Value: [Errno -3] Temporary failure in name resolution No entiendo por que se presenta este error, ya que durante varios meses he utilizando la clase de autenticación integrada de Django y siempre funciono bien, hasta hora se presento esto. La plataforma esta montada en un servidor Linux. Agradezco la ayuda
@ahmadsaadeddin90354 жыл бұрын
thx very much for this Tutorials it really help there error when use app_name in urls in app get error any solution to that error