title: ValueError The QuerySet value for an exact lookup must be limited to one result using slicing on django views
body: <p>am Getting this error i cant figure a way to solve it here are the views.py </p>
  
  <pre><code>class SellerTransactionListView(ListView):
      model = Transaction
      template_name = "sellers/transaction_list_view.html"
  
      def get_queryset(self):
          account = SellerAccount.objects.filter(user=self.request.user)
          if account.exists():
              products = Product.objects.filter(seller=account)
              return Transaction.objects.filter(product__in=products)
          return []
  </code></pre>
  
  <p>template transaction_list_view.html</p>
  
  <pre><code>{% extends "base.html" %}
  
  {% block content %}
  &lt;h1&gt;Transactions&lt;/h1&gt;
  &lt;ul&gt;
  
      {% include "sellers/transaction_list.html" with transaction_list=object_list %}
  
  &lt;/ul&gt;
  {% endblock %}
  </code></pre>
  
  <p>and the transaction_list.html</p>
  
  <pre><code>&lt;table&gt;
  &lt;thead&gt;
  &lt;th&gt;Product&lt;/th&gt;
  &lt;th&gt;User&lt;/th&gt;
  &lt;th&gt;order_id&lt;/th&gt;
  &lt;th&gt;Sale Total&lt;/th&gt;
      &lt;th&gt;&lt;/th&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
  {% for trans in transaction_list %}
  &lt;tr&gt;
      &lt;td&gt;{{ trans.product }}&lt;/td&gt;
      &lt;td&gt;{{ trans.profile }}&lt;/td&gt;
    &lt;td&gt;{{ trans.order_id }}&lt;/td&gt;
      &lt;td&gt;{{ trans.amount }}&lt;/td&gt;
      &lt;td&gt;{{ trans.timestamp|timesince }} ago&lt;/td&gt;
  &lt;/tr&gt;
  {% endfor %}
  &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>if i change the transaction_list_view.html the include part to </p>
  
  <blockquote>
    <p>{% include "sellers/transaction_list.html" with
    transaction_list=transactions %}</p>
  </blockquote>
  
  <p>the error disappears but the transactions are not showing. </p>