Saturday, January 19, 2013

Re: Getting error 500 when using jquery/ajax

What happens if you type the url in directly in the browser's location bar (you will
have to disable the request.is_ajax() test temporarily)?  If the server is in debug
mode, you should get a stack trace that is more informative.

Also, assuming that you've shown us all of the view code, you may need to
return something other than None (which is what gets returned if you don't
use the return statement).  (But I'm not sure of that.  I've always had something
to return.)

Bill

On Sat, Jan 19, 2013 at 5:35 AM, Raphael <development@develissimo.com> wrote:
hello Dex,

you did not tell us what browser you are testing your AJAX request on.
Maybe you experience this Chrome behavior:
http://develissimo.com/blog/2013/ajax-not-working-chrome-ie8/

Good luck
>Raphael

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate