title: How do I integrate Ajax with Django applications?
body: <p>I am new to Django and pretty new to Ajax. I am working on a project where I need to integrate the two. I believe that I understand the principles behind them both, but have not found a good explanation of the two together. </p>
  
  <p>Could someone give me a quick explanation of how the codebase must change with the two of them integrating together?</p>
  
  <p>For example, can I still use the <code>HttpResponse</code> with Ajax, or do my responses have to change with the use of Ajax? If so, could you please provide an example of how the responses to the requests must change? If it makes any difference, the data I am returning is JSON. </p>