title: What does Django return when it cannot find an object?
body: <p>I am doing a query on the database, and I want to do something if the query returns nothing, but I get an error:</p>
  
  <pre><code>user = User.objects.get(name=Jack)
  if (user == NULL):
      # something
  </code></pre>
  
  <p>I get a User matching query does not exist.</p>