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
#3django
Content Guidelines
You may also like
Me Before YOU - BSD ✔ by w_kai1
18 parts Complete Mature
[ COMPLETED ] "𝙝𝙚 𝙛𝙚𝙖𝙧𝙨 𝙡𝙤𝙤𝙨𝙞𝙣𝙜 𝙢𝙮 𝙧𝙚𝙨𝙥𝙚𝙘𝙩, 𝙄 𝙛𝙚𝙖𝙧 𝙗𝙚𝙞𝙣𝙜 𝙗𝙤𝙪𝙣𝙙 𝙩𝙤 𝙝𝙞𝙢" Reminder: ⚠️ Various BSD x Male Reader/Executive Male Reader insert Angst + Romance 3/3 acts completed Started: 24/03/2022 Ended: 12/10/2022 Being his superior is truely making you tired He attempted to break free, but the fall was once again a never-ending loop. For the male, the pain was bearable, but for you, it was excruciating. But it wasn't your predicament that occurred; it was his. Dazai's circumstances has not yet devolved into hopelessness. He doubted about the height and the vulnerability of his physique before to the crash. He'd be still on the ground, surrounded by horrified citizens. Coughs of blood erupted when the horrors were committed. Even though you were there with your eyes open, all you could see was black. Your vision was unaffected. You were relieved that he was okay since his body sprang to its feet as if nothing had happened, but were you? Those dreadful memories flood your mind at random intervals, causing you to lose concentrate on the tasks you were given. You've become too soft, and you've taken on too much responsibility for yourself. Falling down when leaning against a wall. You tied your breathing while holding your head to your knees. You were known as the Port Mafia's key, the Port Mafia's answer, and the Port Mafia's power source. You, on the other hand, wanted the solution for yourself. Why can't you answer your own questions if you've answered queries from others honestly? You were curious as to why and how you had become so mentally weakened. #bsdangst 01/08/2023 #510 bsd 31/03/2022 #322 bsd 06/04/2022 #300 bsd 07/04/2022 #20 atsushinakajima 08/04/2022 #18 atsushinakajima 11/04/2022 #11 bsdxreader 07/05/2022 #36 armeddetectiveagency 08/08/2022 #51 bsd 11/08/2022
[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.
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
His Prize by google1021
35 parts Complete Mature
Nina is captured by parbeing man. He plans to turn her into his pet. He knows she won't go down without a fight, but he's not prepared for how much 'fight' she has packed in her small body. His new pet leaks into every area of his life, changing things in ways he could never have imagined. Parbeings are the new and improved apex predators of Earth. Created from gene editing, they are the perfect humans, so perfect that they are no longer even considered human. *** Content Warning: The protagonist of this story is a victim of abuse. I do not condone the actions of the antagonist *** Chapter 1 extract: "Hey Alex. Get over here. I've got something for you," he calls into his collar radio. I reach the end of the alley and turn to face my foe once again, but he remains where he is, still blocking my path but not approaching either. New plan: when he gets close, duck under his arms and make a run for it. Now I just have to wait. Before a minute has even passed, another armoured soldier appears and joins the first. This just keeps getting worse. How am I supposed to dodge past two of them? "What do you want now?" the new soldier grumbles. This one must be Alex. "Look at this cute little human I found. She's feisty. I think she's perfect for you." I glare at them. "I don't want a pet human. That's your disgusting fetish, and I'll have no part in it." "Oh come on Captain," the first soldier whines, "You don't have to fuck her, just train her to be obedient. Surely you can control one measly wild human? You are a captain after all. When you're done, you can just get rid of her, like I do with my humans." What the fuck? For a brief moment my fear is replaced by anger. Who do they think they are, talking about me like I'm some kind of wild animal? "Get the fuck away from me! You freaks!" I screech. The first soldier just flashes an evil grin. They don't budge. "Are you just going to let her talk to you like that?" he goads Alex. (Complete. 70k words.)
This Is War by PaperBagBoi_
26 parts Complete
"A warning to the people The Good and The Evil This is WAR To the Soldier The Civilian The Martyr The Victim It's the moment of Truth and Lies The moment to Live and Die The moment to FIGHT?" The things you said to me, that this will keep me safe if I just listened. They were all just lies from the start. All of them. Do you know how it feels like to be stabbed in the back. Of course you don't. Why bother asking? Being stabbed repeatedly and then being asked if you're okay? Blood running down your back, then being stabbed again after being asked that question? That's all you can do I trusted you, I protected you, I almost gave up my life for you! This is all you can do, Just use me like you always do. NOT ANYMORE I've learned a few new TRICKS Are you proud of me? I hope you are. You're the reason why I blocked out all emotions from the world. The reason you think I'm still happy when I'm not. The reason why I'm here. You don't remember him don't you? He's still apart of me, but not you. You MADE me like! That's was so much fun. Making sure I was always ripped apart while you're stood in one piece. The promises you've broken, The judgement no one bothered to tell you, The so called friends you have. It's all over now.I've covered for you long enough, all those years ago when I was still sane. I'll pretend to be happy for you, I'll pretend to be your good old pal. Oh I will. I'll just show you all those pretty little white lies that you LOVE so much. I'll sprinkle them on top of you, I'll show you how much pain you've caused me. I'll bring them all back! Of course I'll be in your shadows, I'm always in there. Being mistreated and abused for you, of course! I'll make sure to add in some cuts and bruises for ya. I'll be your fucking shadow alright, I'll be it and make sure you fly close to the sun. You're afriad of the dark. You shouldn't be sweetie. You shouldn't be afraid of the dark, You should be afriad what's in it.
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
" 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*
You may also like
Slide 1 of 9
Me Before YOU - BSD ✔ cover
[Baker, Baker, We'll make you better~] Self-Aware Cookie Run x Reader cover
The Story of My Abusive Ex Partner and Me cover
Escaping the Monster's Embrace (OLD BEING REWRITTEN ) cover
His Prize cover
LITTLE SECRET 2 (BTS FF)  cover
This Is War cover
Lies (Jimin Ff) cover
" Bang." (Zack Foster x Reader) cover

Me Before YOU - BSD ✔

18 parts Complete Mature

[ COMPLETED ] "𝙝𝙚 𝙛𝙚𝙖𝙧𝙨 𝙡𝙤𝙤𝙨𝙞𝙣𝙜 𝙢𝙮 𝙧𝙚𝙨𝙥𝙚𝙘𝙩, 𝙄 𝙛𝙚𝙖𝙧 𝙗𝙚𝙞𝙣𝙜 𝙗𝙤𝙪𝙣𝙙 𝙩𝙤 𝙝𝙞𝙢" Reminder: ⚠️ Various BSD x Male Reader/Executive Male Reader insert Angst + Romance 3/3 acts completed Started: 24/03/2022 Ended: 12/10/2022 Being his superior is truely making you tired He attempted to break free, but the fall was once again a never-ending loop. For the male, the pain was bearable, but for you, it was excruciating. But it wasn't your predicament that occurred; it was his. Dazai's circumstances has not yet devolved into hopelessness. He doubted about the height and the vulnerability of his physique before to the crash. He'd be still on the ground, surrounded by horrified citizens. Coughs of blood erupted when the horrors were committed. Even though you were there with your eyes open, all you could see was black. Your vision was unaffected. You were relieved that he was okay since his body sprang to its feet as if nothing had happened, but were you? Those dreadful memories flood your mind at random intervals, causing you to lose concentrate on the tasks you were given. You've become too soft, and you've taken on too much responsibility for yourself. Falling down when leaning against a wall. You tied your breathing while holding your head to your knees. You were known as the Port Mafia's key, the Port Mafia's answer, and the Port Mafia's power source. You, on the other hand, wanted the solution for yourself. Why can't you answer your own questions if you've answered queries from others honestly? You were curious as to why and how you had become so mentally weakened. #bsdangst 01/08/2023 #510 bsd 31/03/2022 #322 bsd 06/04/2022 #300 bsd 07/04/2022 #20 atsushinakajima 08/04/2022 #18 atsushinakajima 11/04/2022 #11 bsdxreader 07/05/2022 #36 armeddetectiveagency 08/08/2022 #51 bsd 11/08/2022