title: Django Inline : how to get inline properties in change_view() django
body: <p>Email model class</p>
  <pre><code> class Email(models.Model)
         body_message = models.TextField(max_length = 256, null = False)
         #other fields ForeignKey, subject, to etc.
  </code></pre>
  <p>Tabular Inline model.</p>
  <pre><code>#Inline Email
  class EmailInline(admin.TabularInline):
  model = Email
  </code></pre>
  <p>And this is my RequestAdmin model that shows inlines.</p>
  <pre><code>class RequestAdmin(admin.ModelAdmin):
        inlines = [EmailInline,]
  
        #In change_view() i want to print my inlines properties 
  
        def change_view(self, request, object_id, form_url='', extra_context=None):
                  
                  for inline in self.inlines:
                        #Here i can remove my specific inline
                        self.inlines.remove(inline)
                        #But i want to check my inline_class properties
                        print(inline.body_message) #This line raise exception
                        #i want to print inlines body_message
                        
  
        return super(RequestAdmin, self).change_view(request, object_id)
  </code></pre>
  <p>Error image which i am getting.</p>
  <p><a href="https://i.stack.imgur.com/6WGFO.png" rel="nofollow noreferrer">Exception Value:<br />
  type object 'EmailInline' has no attribute 'body_message'</a></p>
  <h1>Now how i can get my inline properties (body_message) ?</h1>