title: Django model latest() method
body: <p>I am having the following issue (BTW I think I had not had this problem the day before):</p>
  
  <pre><code>&gt;&gt;&gt; rule = Rule.objects.get(user=user)
  &gt;&gt;&gt; rule.id
  1
  &gt;&gt;&gt; rule = Rule.objects.get(user=user).latest('id')
  
  AttributeError: 'Rule' object has no attribute 'latest'
  </code></pre>
  
  <p>Why am I getting the error?</p>