class MyForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        self.parent_object = kwargs.pop('parent_object')
super(MyForm, self).__init__(*args, **kwargs)


class MyChildInline(admin.TabularInline):
    formset = MyFormSet
form = MyForm
Accessing parent model instance from modelform of admin inline