Re: WatchmanReloader does never reload

2022-01-18 Thread Torsten Bronger
Hallöchen! Robbi Nespu writes: > On 18/1/2022 5:29 pm, Torsten Bronger wrote: > >> The reloader for “runserver” does not reload at all for me, and I >> have no clue how to debug this. I am using Django 3.2.10 under >> Ubuntu, and both the StatReloader and WatchmanReloader simply do >> nothing.

Re: MongoDB connection with django

2022-01-18 Thread Sai Kiran Mekala
Same brother , I tried with mongoengine still persist with same exception error . Thanks , Saikiran On Tue, 18 Jan 2022, 15:53 Kasper Laudrup, wrote: > On 18/01/2022 03.44, Sai Kiran Mekala wrote: > > Yes , I was notified with the same error but I was unable to connect > > MongoDB , djongo

Re: MongoDB connection with django

2022-01-18 Thread Kasper Laudrup
On 18/01/2022 03.44, Sai Kiran Mekala wrote: Yes , I was notified with the same error but I was unable to connect MongoDB , djongo isn't available . I already installed djongo ( module) using pip.please suggest I was assigned a task to connect MongoDB with django. So when you check the

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

Re: MongoDB connection with django

2022-01-18 Thread Sai Kiran Mekala
django.core.exceptions.ImproperlyConfigured: 'djongo' isn't an available > database backend or couldn't be imported. Check the above exception. To > use one of the built-in backends, use 'dja > ngo.db.backends.XXX', where XXX is one of: > 'mysql', 'oracle', 'postgresql', 'sqlite' These is

Re: MongoDB connection with django

2022-01-18 Thread Kasper Laudrup
On 18/01/2022 11.37, Sai Kiran Mekala wrote: Same brother , Which brother? I tried with mongoengine still persist with same exception error . I don't think it's possible for us to communicate. Maybe someone else can help. Kind regards, Kasper Laudrup -- You received this message

Re: WatchmanReloader does never reload

2022-01-18 Thread Robbi Nespu
On 18/1/2022 5:29 pm, Torsten Bronger wrote: Hallöchen! The reloader for “runserver” does not reload at all for me, and I have no clue how to debug this. I am using Django 3.2.10 under Ubuntu, and both the StatReloader and WatchmanReloader simply do nothing. Including no error output. That

WatchmanReloader does never reload

2022-01-18 Thread Torsten Bronger
Hallöchen! The reloader for “runserver” does not reload at all for me, and I have no clue how to debug this. I am using Django 3.2.10 under Ubuntu, and both the StatReloader and WatchmanReloader simply do nothing. Including no error output. That both do not work points to a really stupid error

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

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 > > >

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

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

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

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

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:

Feedback about #27471 (Make admin's list_filter choices collapsable)

2022-01-18 Thread Marcelo Galigniana
Hello everyone! I just pushed a patch about making the django admin filters collapsables when they have more than 10 options inside I would like to read your opinions! Here there is the PR: https://github.com/django/django/pull/15331 Thank you! Marce. -- You received this message because

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.