title: How to display one models data in another model django admin panel
body: <p>I have two models: 1) SchoolProfile &amp; 2) Content</p>
  <p>I want to show content data in schoolprofile, But data should be display as per user foreignkey.</p>
  <p>User foreignkey common for both the models.</p>
  <p>School Profile Model</p>
  <pre><code>class SchoolProfile(models.Model):
      id=models.AutoField(primary_key=True)
      user=models.ForeignKey(User,on_delete=models.CASCADE,unique=True)
      school_name = models.CharField(max_length=255)
      school_logo=models.FileField(upload_to='media/', blank=True)
      incharge_name = models.CharField(max_length=255, blank=True)
      email = models.EmailField(max_length=255, blank=True)
      phone_num = models.CharField(max_length=255, blank=True)
      num_of_alu = models.CharField(max_length=255, blank=True)
      num_of_student = models.CharField(max_length=255, blank=True)
      num_of_cal_student = models.CharField(max_length=255, blank=True)
  
      def __str__(self):
          return self.school_name
  </code></pre>
  <p>Content Model</p>
  <pre><code>class Content(models.Model):
      id=models.AutoField(primary_key=True)
      user=models.ForeignKey(User,on_delete=models.CASCADE)
      content_type = models.CharField(max_length=255, blank=True, null=True)
      show=models.ForeignKey(Show,on_delete=models.CASCADE, blank=True, null=True)
      sponsor_link=models.CharField(max_length=255, blank=True, null=True)
      status=models.BooleanField(default=False, blank=True, null=True)
      added_on=models.DateTimeField(auto_now_add=True)
      content_file=models.FileField(upload_to='media/', blank=True, null=True)
      title = models.CharField(max_length=255)
      subtitle = models.CharField(max_length=255, blank=True, null=True)
      description = models.CharField(max_length=500, blank=True, null=True)
      draft = models.BooleanField(default=False)
      publish_now = models.CharField(max_length=255, blank=True, null=True)
      schedule_release = models.DateField(null=True, blank=True)
      expiration = models.DateField(null=True, blank=True)
      tag = models.ManyToManyField(Tag, null=True, blank=True)
      topic = models.ManyToManyField(Topic, null=True, blank=True)
      category = models.ManyToManyField(Categorie, null=True, blank=True)
      
      def __str__(self):
          return self.title 
  </code></pre>
  <p>I have used Inline but it's show below error:</p>
  <pre><code>&lt;class 'colorcast_app.admin.SchoolProfileInline'&gt;: (admin.E202) 'colorcast_app.SchoolProfile' has no ForeignKey to 'colorcast_app.SchoolProfile'.
  </code></pre>
  <p>My admin.py</p>
  <pre><code>class SchoolProfileInline(InlineActionsMixin, admin.TabularInline):
      model = SchoolProfile
      inline_actions = []
  
      def has_add_permission(self, request, obj=None):
          return False
  
  
  class SchoolProfileAdmin(InlineActionsModelAdminMixin,
                    admin.ModelAdmin):
      inlines = [SchoolProfileInline]
      list_display = ('school_name',)
  
  admin.site.register(SchoolProfile, SchoolProfileAdmin)
  </code></pre>