this is a example Django and Ajax maybe help you
https://simpleisbetterthancomplex.com/tutorial/2016/08/29/how-to-work-with-ajax-request-with-django.html
On Sun, Jan 17, 2021 at 5:18 PM www.forum-gh.com
wrote:
> Hello,
> Please I need your help on this, I am an absolute beginne
Hello,
Please I need your help on this, I am an absolute beginner, how
can I create a filter using ajax for example when the user selects Ghana
from a dropdown then data related to this country will show without
refreshing the page.
Thanks
--
You received this message because you are sub
Mention not😎
On Sat, May 11, 2019 at 12:16 AM Karan Mittal
wrote:
> Thanks Deepak it was really helpful
>
> On Fri, May 10, 2019 at 11:57 PM DEEPAK RAGHAV <
> deepaksinghragh...@gmail.com> wrote:
>
>>
>> https://steemit.com/utopian-io/@ajmaln/part-1-creating-a-simple-chat-app-with-djangorestfra
Thanks Deepak it was really helpful
On Fri, May 10, 2019 at 11:57 PM DEEPAK RAGHAV
wrote:
>
> https://steemit.com/utopian-io/@ajmaln/part-1-creating-a-simple-chat-app-with-djangorestframework
>
> On Fri, May 10, 2019 at 11:27 PM Karan Mittal
> wrote:
>
>> Hey Guys can someone tell me some nice
https://steemit.com/utopian-io/@ajmaln/part-1-creating-a-simple-chat-app-with-djangorestframework
On Fri, May 10, 2019 at 11:27 PM Karan Mittal
wrote:
> Hey Guys can someone tell me some nice AJAX Django tutorials? I searched a
> lot and didn't found anything that was actually good.
> Thanks in
Hey Guys can someone tell me some nice AJAX Django tutorials? I searched a
lot and didn't found anything that was actually good.
Thanks in Advance, it will be a great help.
Thanks
Karan Mittal
Technical Writer
DataFlair
--
You received this message because you are subscribed to the Google Groups
Hello,
In your first method (non-json), try console.log(data) in the success
function.
When you tried json, was there any other error in the console? What about
the network tab?
Collin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsu
updated my ajax to the following but for somereason it just says something
went wrong
$(document).ready(function() {
$('#get_info').submit(function() {
$.ajax({
type: "POST",
url: "/vmstatus/",
dataType: "json",
async:
Another note is I try to return posted data and out put it to the html for
testing and that doesn't get returned either.
--
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 e
So I'm trying to write an ajax script that post data to django without
having to leave the page. Currently it is on submit however eventually im
going to put it on a timer.
Right now the function outputs to the console as a success but no data is
returned from django.
Here is my ajax
$(docu
Perfect, thank you
On 9/1/14, Collin Anderson wrote:
> If the url name is not guessable (for example, it includes a secure random
> string, like django's forgot password url), that should provide enough
> security.
>
> Though you can always pass in the csrf token using javascript:
> https://docs.
If the url name is not guessable (for example, it includes a secure random
string, like django's forgot password url), that should provide enough
security.
Though you can always pass in the csrf token using javascript:
https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax
--
You receive
I am completely new to AJAX and I was wondering. I have a a view that ajax
is posting to but in order for the request to be processed in the view
correctly i have to add csrf_exempt decorator to that view, but is that
safe? I named the url for that view with a name that would not be
guessable,
hough it seemed like a bug, but it has
been too long and I can't remember exactly what the problem was. Keep me
posted.
Furbee
On Mon, Nov 21, 2011 at 1:10 PM, Schmidtchen Schleicher <
spiolli...@googlemail.com> wrote:
> I'm trying to do a simple google-suggest like thing with dja
I'm trying to do a simple google-suggest like thing with django and ajax. I
wrote a view for creating the response and try to use it via an
XMLHttpRequest.
Here's my view:
def category_suggest(request):
> if request.method == "GET":
> return_categories =
On Monday, March 7, 2011 3:32:51 PM UTC-8, Rami wrote:
>
> Thanks Andy!
>
> 1- you were correct about the form submitting the get method.
>
> 2- As you mentioned, the when I change the if statement to
> "request.GET.has_key('ajax')", it gets executed. the "?ajax" apparently
> causes the statemen
Karen Tracey pisze:
>
> Sharing with the list what, exactly, the 'results far from expected'
> look like would be a start. I assume from the subject that you are
> getting some sort of encoding exception, but without the traceback it is
> a bit difficult to say where exactly the problem is.
Ind
2009/4/28 Bartek SQ9MEV
>
> What would be the best idea to handle this problem? Where does it
> originate?
> Any idea where to start investigation?
>
>
Sharing with the list what, exactly, the 'results far from expected' look
like would be a start. I assume from the subject that you are getting
Hi
Im using clientcide fupdate which generates ajax request:
http://dpaste.com/38671/
My post data includes some national (polish) characters, when i try to
save them i get results far from expected. My view is at
http://dpaste.com/38672/
What would be the best idea to handle this problem? Wher
ou tell me about the
> > combination between Django and Ajax? did somebody used Ajax with
> > Django; if yes... how it was it?
>
> the topic has been discussed many times in the last few days. A search
> could give you part of the answer or even the full one ;-)
>
You can also
puyuus a écrit :
> hello again!
> there are 2 weeks since i started using Django and I can say that i
> done a lot of things easier then in PHP.
> just one problem for today what can you tell me about the
> combination between Django and Ajax? did somebody used Ajax with
&
hello again!
there are 2 weeks since i started using Django and I can say that i
done a lot of things easier then in PHP.
just one problem for today what can you tell me about the
combination between Django and Ajax? did somebody used Ajax with
Django; if yes... how it was it
22 matches
Mail list logo