title: Django "update_or_create" API: how to filter objects by created or updated?
body: <p>So, I'm using the Django update_or_create API to build my form data. It works fine...but, once built, I need a way to check to see what profiles were actually updated or if they were created for the first time?</p>
  
  <p>Just an example:</p>
  
  <pre><code>    for people in peoples:
          people, updated = People.objects.update_or_create(
              id=people.person_id,
              defaults={
                  'first_name': people.first_name,
              }
          )
  </code></pre>
  
  <p>Filtering queryset:</p>
  
  <pre><code>   people = People.objects.filter(
          id__in=whatever,
     )
  </code></pre>
  
  <p>But, now, I'm trying to filter the queryset by created or updated...but don't see an API for that (e.g., a fitler of sorts)</p>
  
  <p>So, I would like to do something like:</p>
  
  <pre><code>updated = Person.objects.filter(updated=True, created_for_first_time=False)
  
  and then I can write something like
  
  if updated:
     do this
  else:
     do this
  </code></pre>
  
  <p>Basically, I just want to check if a profile was updated or created for the first time. </p>