Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-19 Thread Leo guitar girl
I have sent you an invitation On Wed, Jan 19, 2022 at 9:54 AM Vkash Poudel wrote: > can we connect via email so that i can share my codes regarding Time basis > OTP Generation and OTP Verification and activate user's account using pyotp. > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-19 Thread Leo guitar girl
yeah sure On Wed, Jan 19, 2022 at 9:54 AM Vkash Poudel wrote: > can we connect via email so that i can share my codes regarding Time basis > OTP Generation and OTP Verification and activate user's account using pyotp. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Vkash Poudel
can we connect via email so that i can share my codes regarding Time basis OTP Generation and OTP Verification and activate user's account using pyotp.

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Leo guitar girl
I have not used any library. I have done manual OTP verification by using Rand library as told in the tutorial. On Tue, Jan 18, 2022 at 9:00 PM Vkash Poudel wrote: > first of what did you use to generate otp. If you've used pyotp libraries > then you can verify otp in simple step and the documen

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Leo guitar girl
I have changed the code as you suggested. def OTPverify(request): if request.method == 'POST': email = request.POST.*get*['email'] otp = request.POST.*get*['otp'] But now it gives another error, [image: image.png] On Tue, Jan 18, 2022 at 10:10 PM Bernard Mallala wrote:

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Jasur Suyunov
Hello my friend Sesh, 18-yan, 2022, 7:50 TK Leo guitar girl : > I am following the tutorial from LearnVern.com > > > https://www.learnvern.com/python-tutorial-django/project-implementation-part2 > > I have followed ditto as taught in the tutorial but the trainer has no > issue and I have this iss

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Abubakar Siddique
Hi, Hope you are well Did you successfully find the bug or not here is my whatsapp number You can contact here 923158090326 Thanks On Tue, Jan 18, 2022 at 8:32 AM Leo guitar girl wrote: > Oh, I apologize. I had pasted the error code here don't know why it was > not sent. > Actually, I am tr

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Bernard Mallala
In your model, be sure to address defaults and required values such that something is passed or be user to validate. Replace request.POST[''] With request.POST.get('') For example request.POST['otp'] TO request.POST.get['otp'] On Tuesday, January 18, 2022 at 9:00:41 AM UTC-7 bikash...@g

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Vkash Poudel
first of what did you use to generate otp. If you've used pyotp libraries then you can verify otp in simple step and the documentation is good in pyotp. On Tue, Jan 18, 2022 at 8:35 PM Leo guitar girl wrote: > I am following the tutorial from LearnVern.com > > > https://www.learnvern.com/python-

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Leo guitar girl
I am following the tutorial from LearnVern.com https://www.learnvern.com/python-tutorial-django/project-implementation-part2 I have followed ditto as taught in the tutorial but the trainer has no issue and I have this issue. I am sharing the views.py code also from django.shortcuts import rende

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Kasper Laudrup
On 18/01/2022 04.31, Leo guitar girl wrote: Oh, I apologize. I had pasted the error code here don't know why it was not sent. Actually, I am trying to create a job portal by seeing a tutorial. Now I am at the step of verifying OTP. OTP is generated successfully in the database. But when I enter

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-16 Thread Kasper Laudrup
On 16/01/2022 11.03, Leo guitar girl wrote: *This is the error I am getting at OTP verification step. Please guide me where I am wrong. * * No one here would have any idea what "OTP verification step" you are talking about. You haven't written anything about what you are trying to achieve

Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-16 Thread Leo guitar girl
Environment: Request Method: GET Request URL: http://127.0.0.1:8000/otp/ Django Version: 4.0.1 Python Version: 3.9.9 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.