Commit 5fd5d3c9 authored by Daniel W Bond's avatar Daniel W Bond

removed unused code from createrating context

parent e4b4af18
......@@ -668,12 +668,8 @@ class CreateRating(LoginRequiredMixin, CreateView):
def get_context_data(self, **kwargs):
context = super(CreateRating, self).get_context_data(**kwargs)
me = self.request.user.student
selected_listing = self.parse_url_for_listing(self.request)
winning_student = selected_listing.winning_bid.bidder
context['listing'] = selected_listing
context['listing'] = self.parse_url_for_listing(self.request)
return context
def form_valid(self, form):
......
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