HI Mac,
I've changed the if statement to if(e=="OK") but the message error
persist.
Note: I have explore the value of the return in the webbrowser dev tools
and it contains "OK"
El domingo, 25 de octubre de 2020 a la(s) 21:06:00 UTC-3, Mac escribió:
> In your success function, you are assig
Hi everyone!
I am newbe in Django and I have a question.
I am creating a multi-tenanci application and I need to filter the combobox
according to projects created by logged users, but I have the following
message:
*AttributeError at /requisitos/cadastrarRequisito/ 'WSGIRequest' object has
no
Sent from my Samsung Galaxy smartphone.
Original message From: Walter Randazzo
Date: 10/25/20 6:10 PM (GMT-05:00) To: django-users@googlegroups.com Subject:
Re: Error at the return of an AJAX POST in DJANGO hi there, As far as I check
its OK.Thanks for replay.El dom., 25 oct
t.f Sent from my Samsung Galaxy smartphone.
Original message From: Walter Randazzo
Date: 10/25/20 6:10 PM (GMT-05:00) To: django-users@googlegroups.com Subject:
Re: Error at the return of an AJAX POST in DJANGO hi there, As far as I check
its OK.Thanks for replay.El dom.,
In your success function, you are assigning the variable e = 'OK', so in
your if statement, it appears to throw an error. If you change it to
if(e=="OK"), does it work? Note the two equal signs, == .
On Sun, Oct 25, 2020 at 3:29 PM Walter Randazzo
wrote:
> I tried with no luck. When i remove it
I tried with no luck. When i remove it it brings an error.
El domingo, 25 de octubre de 2020 a la(s) 19:19:29 UTC-3, trebor escribió:
> Walter,
>
>
>
> If your copy and paste is accurate you have too many closing brackets in
> the ajax section.
>
>
>
> Try removing one of these from the end
Walter,
If your copy and paste is accurate you have too many closing brackets in the
ajax section.
Try removing one of these from the end of the ajax section:
});
From: django-users@googlegroups.com On Behalf
Of Walter Randazzo
Sent: Monday, 26 October 2020 9:09 AM
To: django-users@googl
hi there,
As far as I check its OK.
Thanks for replay.
El dom., 25 oct. 2020 a las 18:43, rbar...@xcaretresearch.com (<
rbarh...@xcaretresearch.com>) escribió:
> Not sure, but looks like an extra closing bracket in line 9 of the ajax
> code
>
> On Sunday, October 25, 2020 at 2:05:28 PM UTC-7
HI Macolm,
I am checking out the response value in the and it shows OK in the
browser dev tool . So i guess the function is not defined properly
[image: image.png]
El dom., 25 oct. 2020 a las 18:46, Malcolm MacKinnon ()
escribió:
> I'm not a JS expert, but is your success function defined
I'm not a JS expert, but is your success function defined properly?
if(e="OK") vs. if(e=="OK")
On Sun, Oct 25, 2020 at 2:06 PM Walter Randazzo wrote:
>
> Hi buddies, I have a POST request from ajax. At the backend some records are
> updated in the django view, this is done fine but an error come
Not sure, but looks like an extra closing bracket in line 9 of the ajax code
On Sunday, October 25, 2020 at 2:05:28 PM UTC-7 wwran...@gmail.com wrote:
> Hi buddies, I have a POST request from ajax. At the backend some records
> are updated in the django view, this is done fine but an error comes
Hi buddies, I have a POST request from ajax. At the backend some records
are updated in the django view, this is done fine but an error comes up and
the page isnt reloaded.
***This is the error:***
> SyntaxError: Unexpected token O in JSON at position 0
***This is the ajax:***
$.ajax({
Hi guys,
Is there any way to improve the distribution of the elements of the django
form, from this (img1) to (img2)?
How so?
Thanks in Advance
Code:
{{filter.form|bootstrap}}
Buscar
%
.00
Aplicar
Ya ,I'm also thinking the same
On Sunday, October 25, 2020 at 2:58:11 PM UTC+5:30 guettli wrote:
> I want to maintain a very simple Django App at github.
>
> Is there an "officially" recommended way to structure the directory layout?
>
> There are several blog posts and article about this.
>
> Wo
I have created createsuperuser
but login time Error Show
403 Forbidden
How can solve this problem
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users
You can check this one -> https://cookiecutter-django.readthedocs.io/
This is pretty commonly used in many projects.
On 10/25/20 3:28 PM, guettli wrote:
I want to maintain a very simple Django App at github.
Is there an "officially" recommended way to structure the directory
layout?
There a
I want to maintain a very simple Django App at github.
Is there an "officially" recommended way to structure the directory layout?
There are several blog posts and article about this.
Wouldn't it be nice if the django docs would contain a recommendation?
Regards,
Thomas
--
You received this
17 matches
Mail list logo