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

inexplicable errors continued... more 'um the project literally doesn't work...

inexplicable errors continued... more 'um the project literally doesn't work because this is broken... how is this a thing'
parent d542601a
...@@ -77,7 +77,7 @@ class BidForm(forms.ModelForm): ...@@ -77,7 +77,7 @@ class BidForm(forms.ModelForm):
Fieldset("", Fieldset("",
'listing', 'listing',
HTML("<div class='col-md-4'>"), HTML("<div class='col-md-4'>"),
AppendedPrependedText('price', '$', '.00', PrependedAppendedText('price', '$', '.00',
placeholder="whole numbers"), placeholder="whole numbers"),
HTML("</div><div class='col-md-6'>"), HTML("</div><div class='col-md-6'>"),
'text', 'text',
......
...@@ -203,7 +203,7 @@ class DetailListing(LoginRequiredMixin, DetailView): ...@@ -203,7 +203,7 @@ class DetailListing(LoginRequiredMixin, DetailView):
context['bids'] = bids_with_info context['bids'] = bids_with_info
context['flagged_bids'] = flagged_bids_with_info context['flagged_bids'] = flagged_bids_with_info
context['bid_count'] = Bid.objects.filter(listing=self.get_object).count() context['bid_count'] = Bid.objects.filter(listing=self.get_object()).count()
# flags # flags
context['flags'] = Flag.objects.filter(listing=self.get_object()).order_by('-created') context['flags'] = Flag.objects.filter(listing=self.get_object()).order_by('-created')
context['flag_count'] = Flag.objects.filter(listing=self.get_object()).count() context['flag_count'] = Flag.objects.filter(listing=self.get_object()).count()
......
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