title: django: unit testing html tags from response and sessions
body: <p>Is there a way to test the html from the response of:</p>
  
  <pre><code>response = self.client.get('/user/login/')
  </code></pre>
  
  <p>I want a detailed check like input ids, and other attributes. Also, how about sessions that has been set? is it possible to check their values in the test?</p>