title: How to update parent Django model when child modified
body: <p>I have a simple Django model like:</p>
  
  <pre><code>class Parent(models.Model):
  
      fresh = models.BooleanField(default=True)
  
  class Child(models.Model):
  
      parent = models.ForeignKey(Parent)
  
      &lt;other fields&gt;
  </code></pre>
  
  <p>I have these setup in admin so that child records show as inlines under parent:</p>
  
  <pre><code>class ChildInline(admin.TabularInline):
      model = Child
  
  class ParentAdmin(admin.ModelAdmin):
      inlines = [ChildInline]
  </code></pre>
  
  <p>How do I configure this so that when a user creates, updates or deletes a child record, it sets <code>parent.fresh = False</code>?</p>
  
  <p>I tried simply overriding the Child's save() method, but this doesn't work in admin since it saves the child first, then saves the parent record, which overwrites any modifications the child made to the parent.</p>
  
  <p>I also tried setting a customer post_save signal, but the effect is the same. The signal it executed after the child is saved, but not before the parent is saved, so the changes still get overwritten.</p>
  
  <p>Is there another way? Is there some post_admin_save signal?</p>