Re: MongoDB connection with django

2022-01-17 Thread Sai Kiran Mekala
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. Thanks Saikiran On Mon, 17 Jan 2022, 23:02 Kasper Laudrup, wrote: > On

When I redirect to a previously used view old data is used

2022-01-17 Thread lone...@gmail.com
Hello all, I have a redirect that redirects to a previously used view. The data in the view should change, and does, once I reload the page. How can I get the new page without reloading the page first? For clarity, here is the basic process I have defined so far. 1. View is loaded and

Re: Django sever for andriod

2022-01-17 Thread Chukwu George
Please help! I am trying to access django login page but it keep tell me "A server error occurred. Please contact the administrator" what do I do? Please help. On Wednesday, January 28, 2015 at 3:35:54 AM UTC-10 Andreas Kuhne wrote: > 2015-01-28 6:45 GMT+01:00 suhail areekkan : > >> I am new

Re: request.POST.getlist('xxx') only has one value in ajax request for many2many

2022-01-17 Thread Julio Cojom
I remember having a problem like that once, in your views print the hole dictionary "print(request.POST)", you should see all the values of the field you want as list, not just one. Then instead of getlist try just get, request.POST.get('field_here') Let me know how it goes El lun., 17 de enero

Re: request.POST.getlist('xxx') only has one value in ajax request for many2many

2022-01-17 Thread Campbell McKilligan
Yeah - I am looping. I just get one iteration which is the last item even though the request body has the same key repeated. For example, this code only prints one item, whereas for a different form elsewhere, it would iterate through all the identical keys: print(self.request.__dict__)

Re: MongoDB connection with django

2022-01-17 Thread Kasper Laudrup
On 17/01/2022 12.09, Sai Kiran Mekala wrote: Hi All, Can someone please assist to connect mongodb with django where I was notified an error django.core.exceptions.ImproperlyConfigured: 'djongo' isn't an available database backend or couldn't be imported. Check the above exception. To use

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-17 Thread Bernard Mallala
Btw contact form on your website does not show on mobile. On Monday, January 17, 2022 at 12:41:44 AM UTC-7 in...@lyntree.io wrote: > Hi, > > Thank you for this, I've just joined! I tried looking before but couldn't > find but i'll sure be on it now :) > > Thanks again > > On Fri, 14 Jan 2022 at

Re: ModelMultipleChoiceField - different number of values in request _body and _post

2022-01-17 Thread Campbell McKilligan
Here's the parsed POST payload (I've trimmed all the HTML in the payload since it's repetitive). Below is the non-parsed non-trimmed POST payload. 1. csrfmiddlewaretoken: FmbcJ2t1RV6rMSf4TJzzPOe8Zm1yzXx7Jh3mdfSK1TTMEdBCKs5VIWhICBbbPNn6 2. key: acme-seoul-2022-cast 3.

MongoDB connection with django

2022-01-17 Thread Sai Kiran Mekala
Hi All, Can someone please assist to connect mongodb with django where I was notified an error 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