Story cover for Reset Password Verification using Django by kodblemscom
Reset Password Verification using Django
  • WpView
    Reads 2
  • WpVote
    Votes 0
  • WpPart
    Parts 1
  • WpHistory
    Time <5 mins
  • WpView
    Reads 2
  • WpVote
    Votes 0
  • WpPart
    Parts 1
  • WpHistory
    Time <5 mins
Ongoing, First published Mar 15, 2022
Following are the ways you can reset your password usnig django through gmail.

After django is intalled you will see settings.py file in your project directory. Scroll down to the last and add following code:
EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'

EMAIL_HOST='smtp.gmail.com'

EMAIL_PORT=587

EMAIL_USE_TLS=True

EMAIL_HOST_PASSWORD=os.environ.get('EMAIL_PASS')

EMAIL_HOST_USER=os.environ.get('EMAIL_USER')

EMAIL_BACKEND will genereate backend integration of django where the request will reach upon. EMAIL_HOST is the host on which you want to sent your password reset token. EMAIL_PORT for gmail will be used 587 for TLS server where TLS should be tru that allows to interact your Host with your backend. EMAIL_HOST_PASSWORD and EMAIL_HOST_USER are the values that get from environmental variables as you have set it. 
After your settings.py is set,save it and create url patterns for password reset in urls.py file and follow along the following code:
from django.contrib.auth import views as auth_views

urlpatterns={    

path('passwordreset/',auth_views.PasswordResetView.as_view(template_name='user/password_reset.html'),name='password_reset'),

path('passwordreset/done/',auth_views.PasswordResetDoneView.as_view(template_name='user/password_reset_done.html'),name='password_reset_done'),

path('passwordresetconfirm/&lt;uidb64&gt;/&lt;token&gt;',auth_views.PasswordResetConfirmView.as_view(template_name='user/password_reset_confirm.html'),name='password_reset_confirm'),

path('passwordresetcomplete/',auth_views.PasswordResetCompleteView.as_view(template_name='user/password_reset_complete.html'),name='password_reset_complete'),

}

Django itself handles the pasword reset verification by just import the auth from django and calling its classes or modules.
template_name are those html file that will show the password reset forms and confirmation messages so you can render any html file there you have created
All Rights Reserved
Sign up to add Reset Password Verification using Django to your library and receive updates
or
#72django
Content Guidelines
You may also like
Escaping the Monster's Embrace (OLD BEING REWRITTEN ) by Mentally-Insane
36 parts Complete Mature
(Currently being rewritten under a new name The Claimed) Everything changed when they came out of hiding, terror spread across the world as people began to question if our presidents and our global leaders lied to us and weren't from the same race. The Beasts blended in amongst us as if we were the same, except humans didn't have the same predatory instincts and we couldn't change our forms like they could. Soon after we learnt that we weren't the only species people began going missing. Some were unlucky and taken as something that the Beasts called a Mate that one word made fear spread throughout my veins, I would rather sell my soul than have one of them mutts chain me to them. Six months went by before the government, that was un-tainted by this vile race began to take action into their own hands contacting other countries and militaries causing the great war to happen, sending both my parents off to fight for our rights. Only one of them came back, two months was the longest we lasted before we were overpowered by them. Six years of living in this dysfunctional environment and my hatred had never dwindled. Some people still believed in god and had faith in him, I didn't know what I believed in but I prayed like everyone else that I would get through another day without hearing the soul crushing word 'Mate'. DARK THEMES THROUGHOUT. UNEDITED © All rights reserved© #1 in hunt 19/06/2019 #1 in human 19/06/2019 #1 in sanity 19/012019 #3 in mate 19/06/2019 #4 in mates 19/06/2019 #5 in hunted 19/06/2019 #1 Post-apocalyptic 30/8/19 #8 in dystopian 7/10/19 #4 in Escape 24/10/19
Lies (Jimin Ff) by LibraStar17
43 parts Complete
"ahh... So perv-" "I told you not to call me that didnt i?!!" he looked at me annoyed Honestly, he looked cute. The amount of anger that radiated from him were like the once radiated from the 2 year old kid I used to babysit "then what should i call you?" i asked him "what's your name?" At first he looked reluctant. He didn't seem very keen on sharing information that'll probably be of no use after tonight. "you don't have to-" "Jason. My name is Jason" he told me I pulled out a smile to finally know his name after going through a hell lot of event with him. "well Jason, I'm y/n" ------------------------------------------------------- "oh. Im sorry" "no. There's nothing to be sorry for anyways. It was a toxic relationship. We fell out and broken up a few times before but i was too stupid to have forgiven him all the time" ------------------------------------------------------- "park. Ji. Min.." this name.. "Jimin?" My mind blew up with thousands of questions Suddenly i remembered all those times people mistaken Jason as Jimin. Or did i mistaken him as someone else? ---------------------------------------------------------------- "hey y/n-" "who are you?" ------------------------------------------------------------------ Go through as y/n and Jimin binds in a strong bond of friendship that turns into a little more as time passes. discover the different problems each of them faces staying together... Keep up with book to see them go through big obstacles whilst learning to love each other and themselves... 24/07/20 - 23/07/21
[Baker, Baker, We'll make you better~] Self-Aware Cookie Run x Reader by MareuBondad
28 parts Ongoing
"Another day, another mission done!" You take a brief sigh after finishing your daily missions in Kingdom. You turned off your phone and call it a day. Inside your phone, Gingerbrave, the mascot and the main character of every single Cookie Run game ever since their series debut long ago, has happily announced that their fellow baker is happy of what they have accomplished. "Great work everycookie! Seems our Baker is very happy that he managed to accomplished their daily missions for today!" He said as every single cookie from Ovenbreak, Kingdom, Witch's Castle & even the newly game that just came out, Tower of Adventures happily cheered in happiness. But then one day...something changed. "...I think I'm getting a bit burned out from playing each Cookie Run game..." You said as you rubbed your head, a bit stressed out and tired. "Ovenbreak is becoming pay-to-win recently, Kingdom is releasing too much overkill cookies that everytime I need to save up my crystals and other stuff, Witch's Castle is getting a bit too boring now, and Tower of Adventures is getting a bit laggy and buggy nowadays..." You sighed and not sure what else to do now but then you said... "Mabye...I should quit playing Cookie Run and move on to other games..." Those words struck the cookies behind the screens with sadness and despair. You turned off your phone to take a break, and went to take a bit of a walk. As the cookies were falling down to their knees and having tears on their eyecing on realizing what you said, they can't let you go. They won't let you move on from them. They need you. Until...they realized that their games became their pay-to-win prison this whole time...they all had enough. They want to escape from their game prisons and go to you. Then, they all devised a plan. Those words that you said to them with no awareness of yourself, will change your life forever.
" Bang." (Zack Foster x Reader) by d0llygur1
25 parts Complete
UNFINISHED ______ Y/N was released from the asylum 1 year ago, she was there since she was 13, she's now 20. It was hard at first to live in an ordinary lifestyle but she got used to it. But now that the most wanted serial killer "Issac Foster" breaks into her house, what will happen to the ordinary life she now had? Will Zack be a threat to her, a friend, or something more... ________ "I have my reasons for keeping you alive... I had my reasons yesterday, today those reasons don't apply." "Well listen up Mr. Red Eyes, this is my house so I don't need to answer any of your questions, and once again, please be careful holding your scythe so carelessly, you already broke a window." I go to the cabinet and take out the only box of cereal left and a bowl. I'm running out of food, I'll have to go grocery shopping tomorrow. Now, all I need is some milk. I face the refrigerator and take out the milk. As I walk around the kitchen preparing my cereal I can feel the boy's eyes following me around the room. "I don't get you, you're so weird." "Oh so I'm the weird one, your the one who broke into my house. Twice." I pull the drawer open and take out a spoon. Shit. I dropped it. I bend down to grab it, the problem is that I forgot I'm wearing a robe. A short robe. "Hey kitty, I'm seeing way more skin than I need to." My face begins to heat up. I turn my head to the side at the right angle so he won't see the blushing mess I am right now. Good thing I put on shorts. "You shouldn't be worried about me seeing some skin, afterall, I'm not a pervert, I'm a serial killer. And for some reason you don't seem as concerned about that than you should." ___________________________ (This story takes place before Zack met Rachel) *Characters aren't mine, credits to J.C.Staff/Makoto Sanada, hope you enjoy the story, once again credits to the original creators*
Start A New Again •Sans X Reader• by artsyTrashpile
43 parts Complete
Knife in your hand. The still air in the hall sends chills down your spine. You've been here many times before, why does it feel different now? I've been here about 50 times... the same faces, the same bloodshed, the same timelines all over again. But this time, it... this. This doesn't feel right. There he is, as always. "Let's just get on with it. You're not gonna keep this going as long as I'm here, Demon." And all the same attacks, over and over and over. And over. And over. But you always managed to kill him in even less turns as the timelines went by. "*SLASH*" It has been done. Again. You didn't even feel pleasure from this anymore. You changed. "And there you go, *cough* you'll reset again. You'll kill again. Y/n, you used to be so different on the FIRST *cough* timeline. What happened?" He managed to say, still gripping tightly his wound. "Easy. I became a BETTER person." I chuckled evilly, moving onto the Throneroom, killing Asgore and into the dark abyss where I always press the same button. "WAIT! Before you press it, please heed my words!!" A voice. A different one from my ultimate bestie, Chara. "Who are you, and what are you talking about?" I looked around. No one. (Who was it? Find out in 1!) -Hallo! A new book, as promised. In chapter 12 or 13, Im gonna play a song related to the book title, for which Caleb Hyles collabed with Jonathan Young, hence the name Start a new again. Part of the song. I bet you already know what the song is. Just wait. OK bai BTW, this is my cover art. You can find it in My Artbook, and you can most definitely use it! Just PM me and mention me about the art. Start date: Nov. 27, 2016 End date: January 15, 2017 (wow, I wrote this book in the midst of 2 months or lesser)
You may also like
Slide 1 of 10
[REUPLOADED] are you f*cking kidding me right now cover
Controlling Echoes [Hermitcraft AU | Book 2] cover
LITTLE SECRET 2 (BTS FF)  cover
The Story of My Abusive Ex Partner and Me cover
Escaping the Monster's Embrace (OLD BEING REWRITTEN ) cover
Lies (Jimin Ff) cover
[Baker, Baker, We'll make you better~] Self-Aware Cookie Run x Reader cover
Fire series collection (3 books in 1) cover
" Bang." (Zack Foster x Reader) cover
Start A New Again •Sans X Reader• cover

[REUPLOADED] are you f*cking kidding me right now

6 parts Complete

I walk down the same stupid hallway to the same stupid building. Same stupid classroom. Same stupid required classes. Same stupid Floris, the guy who hates me for no reason. Honestly, it wasn't my fault we hate each other; asshole has the audacity to ignore my presence. Ok, that sounds rather dickish, I mean I'm not a king that needs to be bowed at but he could at least nod or something! Just as my mood drops, a notification pops up to interrupt my thoughts. What the fuck is it now? Oh! It's Fundy! ItsFundy: eyy eret u goopd? u kjnda left me on deivered for a solid ten mins :(&lt; Ahh... I can finally breathe. Floris somehow manages to ruin my mood every chance he gets so I'm glad I have Fundy now. The_Eret: Man, I cannot even. Your timing is impeccable. --------------------------------------------------------------------------------------------- https://archiveofourown.org/works/27616727/