Commit dc42b568 authored by Daniel W Bond's avatar Daniel W Bond

another of those 'how was this an error' type of things... missing a ()

parent c162862f
......@@ -533,7 +533,7 @@ class ExchangeListing(LoginRequiredMixin, FormValidMessageMixin, UpdateView):
me = Student.objects.get(user=self.request.user)
posting_student = self.get_object().poster
bid_count = Bid.objects.filter(listing=self.get_object).count()
bid_count = Bid.objects.filter(listing=self.get_object()).count()
if bid_count < 1:
# because the page shouldn't exist in this scenario
raise Http404
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment