Django tips: A simple AJAX example, part 2 August 5, 2006 Django, JavaScript, Programming Last time around we looked at how to write a simple view which processes a form and either returns errors or returns success, and then tweaked it slightly so that the same view could handle either a “regular” form submission (in which case it operates normally), or an XMLHttpRequest (in which case it returns