Ajax on Django Example, using MochiKit and Prototype

by Jeremy Jones

There is a misconception floating around that Django isn't good at doing Ajax, or that other frameworks do it better. It's true that DJango doesn't bundle an Ajaxy library, but it doesn't mean you can't easily integrate one into your application. Istvan Albert posted an excellent example of using the MochiKit and Prototype javascript libraries to build an Ajaxy example application using Django. This is an example to show the code for using both libraries; it isn't a live demo. It's really helpful to get the source code and see what is going on under the covers. It's really slick.