title: Using django login() without a request object
body: <p>So I'm looking at the user authentication for django, and since it's turning into this mishmash of ajax-y stuff, I'm unable to send a normal request to my login url, and I'm doing so through json using a jquery ajax method on the client side to post the user data in order to login. So my question is, is there a way to use django's login() function in another way, because my request object is not what is expected, so it won't work. Authenticate works fine, because I just deserialize the username and password, but now I'm stuck on the login() part.</p>
  
  <p>Any help would be great.</p>
  
  <p>Thanks!</p>