title: How to filter a property in Django
body: <p>I am currently having trouble with filtering data.</p>
  
  <p><strong>Model</strong></p>
  
  <pre><code>class Member(models.Model):
      id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
      team_id = models.UUIDField(null=True)
      username = models.CharField('', max_length=30)
      is_active = models.BooleanField(default=False)
  
      @property
      def organization_id(self):
          """This is to get the organization Id
          """
          team = Team.objects.get(pk=self.team_id)
          return team.organization_id
  </code></pre>
  
  <p>and now I am planning to filter all the members with the organation_id = <strong>1</strong>.</p>
  
  <p>This is what I need:</p>
  
  <pre><code>memberList = Member.objects.filter(organization_id='1')
  </code></pre>
  
  <p>So I got this error:</p>
  
  <pre><code>Cannot resolve keyword 'organization_id' into field. Choices are: id, is_active, team_id, username
  </code></pre>
  
  <p>How can I filter the members using organization_id?</p>