title: The QuerySet value for an exact lookup must be limited to one result using slicing - Django
body: <p>I'm building a news website. While I tried to get the list of relative news which have the same tags. The error said:</p>
  <blockquote>
  <p>The QuerySet value for an exact lookup must be limited to one result using slicing.</p>
  </blockquote>
  <p>I have two models <code>News</code> and <code>Tag</code>. Tag is a many-to-many foreign key of <code>News</code>.</p>
  <p>News model:</p>
  <pre><code>class News(models.Model):
    
      tag = models.ManyToManyField(Tag, blank=True, verbose_name='tag')
      
  </code></pre>
  <p>Tag model:</p>
  <pre><code>class Tag(models.Model):
  
      name = models.CharField(max_length=40)
  </code></pre>
  <p>View:</p>
  <pre><code>def newsDetailView(request, news_pk):
      news = get_object_or_404(News, id=news_pk)
      tags = news.tag.annotate(news_count=Count('news'))
      relative_news = News.objects.filter(tag=tags)
  
      return render(request, &quot;news_detail.html&quot;, {
          'news': news,
          'tags': tags,
          'relative_news': relative_news
      })
  </code></pre>