title: Getting a TypeError at / 'function' object is not iterable
body: <p>I keep getting this error ('function' object is not iterable) after having added a new def function in my .views file, any thoughts on what the problem could be?</p>
  
  <p>The goal with this is to filter querysets with checkboxes.</p>
  
  <p>Here's my views.py function:</p>
  
  <pre><code>def FilterView(request):
      qs = Product.objects.all()
      ptag = request.GET.get('ptag')
  
      if ptag == 'on':
          qs = qs.filter(ptag='')
  
      qs = filter(request)
      context = {
          'queryset': qs
      }
      return render(request, "partials/search_form.html", context)
  </code></pre>
  
  <p>And in my urls:</p>
  
  <pre><code>from search.views import HomeView, FilterView
  
  urlpatterns = [
      url(r'^$', HomeView.as_view(), FilterView),
  ]
  </code></pre>
  
  <p>Thanks so much!</p>