Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-16 Thread Bridget Sarah
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 16:57, MR INDIA wrote: > > A official discord channel has been released recently follow Django > newsletter for such updates : > >

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

2022-01-16 Thread Patrice Chaula
Information for your post request is missing. Paste all the data that is sent when making a post request. That way everyone gets the idea of what you are trying to achieve. On Sun, Jan 16, 2022, 10:22 PM Campbell McKilligan wrote: > Hi, > I have an ajax request which submits multiple values to

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

2022-01-16 Thread Jason
https://code.djangoproject.com/ticket/1130 Essentially, this is expected behavior, and previous comment is correct. Need to loop through the items in the list On Sunday, January 16, 2022 at 5:42:45 PM UTC-5 richy...@gmail.com wrote: > You might want to loop through the list > Example: >

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

2022-01-16 Thread Odigiri Richard
You might want to loop through the list Example: Lists = request.getlist('item') For list in Lists: . On Sun, Jan 16, 2022, 9:30 PM Campbell McKilligan wrote: > Hi, > > Using Django 3.2 and Py 3.9 > > I have an ajax request which submits multiple values for a field to an > UpdateView.

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

2022-01-16 Thread Campbell McKilligan
Hi, Using Django 3.2 and Py 3.9 I have an ajax request which submits multiple values for a field to an UpdateView. In the request dict body I see both values (in this case, for the pool_list column): '_body': b"csrfmiddlewaretoken=z...h&...=..._datetime==555& *pool_list=507_list=499*&...

ModelMultipleChoiceField - different number of values in request _body and _post

2022-01-16 Thread Campbell McKilligan
Hi, I have an ajax request which submits multiple values to an UpdateView. In the request dict body I see both values (in this case, for the pool_list column): '_body': b"csrfmiddlewaretoken=z...h&...=..._datetime==555& *pool_list=507_list=499*&... Later in the request dict, I only see one of

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

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