title: Capturing logentry history in post_save signal django
body: <p>I have written a <code>post_save</code> signal that is like this :</p>
  
  <pre><code>def send_something(sender, instance, **kwargs):
      user = LogEntry.objects.get(
              content_type_id = ContentType.objects.get_for_model(instance).pk,
               object_id      =  instance.pk,
               action_flag    =   1
               ).user
  
  post_save.connect(send_something, sender=ClassName)
  </code></pre>
  
  <p>But I get a <code>DoesNotExist LogEntry matching query does not exist</code> when I try to add a <code>ClassName</code> object from the admin.</p>
  
  <p>Why does it happen ? Why is the history not available at the time of <code>post_save</code> ? Isn't my object saved yet ?</p>