title: Django- How to Exclude parent class' fields
body: <p>I have a requirement where I want to exclude all parent fields, just include fields explicitly defined in child.</p>
  
  <p>For brevity, here's my django code:</p>
  
  <pre><code>#app2 models.py
  class EmployeeExtended(app1.Employee):
      boss = models.ForeignKey(User, null=True, blank=True)
  
  #app1 admin.py
  class EmployeeExtendedInline(admin.StackedInline):
      model = app2.EmployeeExtended
      fields = ['boss']
  
  class EmployeeAdmin(admin.ModelAdmin):
      inlines = [EmployeeExtendedInline]
  </code></pre>
  
  <p>This code is working. If I dont give <code>fields</code>, it will include all parent fields also. But I dont want to explicitly write <code>fields=['boss']</code>. Rather I want something like:</p>
  
  <pre><code>for field in EmployeeExtendedOnly_Not_In_Its_Parent:
      fields.append(field)
  </code></pre>
  
  <p>Please suggest code for <code>EmployeeExtendedOnly_Not_In_Its_Parent</code></p>