title: Django admin shows all the records in the table in a many to many relationship, instead of related fields
body: <p>So in this project there organizations. Each user can be a manager in multiple organizations. Each user can also be a member of multiple organizations.</p>
  <p>When I go to the &quot;user page&quot; in django admin (e.g. I click to users and than click to that user), I expect to see a list of organizations that user is a manager, and another list of organizations that user is a member.</p>
  <p>Instead, for any user, I see a list of ALL the organizations in both the managership and membership list, as in the image below. E.g. the list is not filtered by their user id.</p>
  <p>What I am doing wrong? How can I fix this? Thanks.</p>
  <p><a href="https://i.stack.imgur.com/7Lmpk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Lmpk.png" alt="Django admin snip" /></a></p>
  <p>My UserAdmin is like:</p>
  <pre><code>@admin.register(User)
  class UserAdmin(auth_admin.UserAdmin):
  
      form = UserChangeForm
      add_form = UserCreationForm
      fieldsets = (
          ...
          (_(&quot;Managerships&quot;), {&quot;fields&quot;: (&quot;managerships&quot;, )}),
          (_(&quot;Memberships&quot;), {&quot;fields&quot;: (&quot;memberships&quot;, )}),
  
      )
      list_display = [&quot;username&quot;, &quot;name&quot;, &quot;is_superuser&quot;]
      search_fields = [&quot;name&quot;]
  </code></pre>
  <p>My user model is like this:</p>
  <pre><code>class User(AbstractUser):
      ...
      managerships = models.ManyToManyField(Organization, related_name='managerships',blank=True)
      memberships  = models.ManyToManyField(Organization,  related_name='memberships',blank=True)
      ...
  </code></pre>
  <p>And Organization model is like:</p>
  <pre><code>class Organization(models.Model):
      name = models.CharField(max_length=200)
      ...
  </code></pre>