title: django login popup
body: <p>I've been trying to figure out how to do a modal login in django and have been having some trouble. Is this possible? It seems like it should be. I imagine the solution involves writing a view that takes a POST request and returns some JSON.</p>
  
  <p>Are there any examples out there of how to do this in a clean way? </p>