#14501: Django runserver + Chrome/Safari + AJAX POST quirk ----------------------------------------------------+----------------------- Reporter: davemckenna01 | Owner: nobody Status: new | Milestone: 1.3 Component: Uncategorized | Version: 1.1 Keywords: runserver post view ajax chrome safari | Stage: Unreviewed Has_patch: 0 | ----------------------------------------------------+----------------------- Only with Safari and Chrome on Windows on my local machine using the django runserver, some views were randomly not returning a response to ajax POST requests. Sometimes they would, sometimes they would not.
The solution was this: The data I was passing in to the view via POST was just one key/val pair: "action=remove". Now, I wasn't actually using this data in my view. Once I assigned the data to a var in my view, (i.e. foo = request.POST['action']), the view would return a response to ajax requests every time. Am I missing something - or does that seem like a crazy weird bug? -- Ticket URL: <http://code.djangoproject.com/ticket/14501> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.