title: How to get the current model instance from inlineadmin in Django
body: <p>I am using the <code>formfield_for_manytomany</code> given in <a href="https://docs.djangoproject.com/en/1.5/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_foreignkey" rel="noreferrer">django documentation</a>.
  But inside that function I need to get the current parent object being edited.</p>
  
  <pre><code>def formfield_for_manytomany(self, db_field, request, **kwargs):
      if db_field.name == "car":
          kwargs["queryset"] = Cars.objects.filter(owner=person)
      return super(myModel, self).formfield_for_manytomany(db_field, request, **kwargs)
  </code></pre>
  
  <p>How can I get the person being edited?</p>