Hacker News new | past | comments | ask | show | jobs | submit login

Writing the server side of an AJAXy search was pretty straightforward. In your view function, Instead of rendering a template, you call json.dumps() (or the equivalent in XML), and set the content type of the HTTP response (i think "application/json"). Django won't generate your client side JavaScript for you (nor should it IMO), so use jQuery or whatever you want.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: