Skip to content

Commit

Permalink
Fix move product to wish list.
Browse files Browse the repository at this point in the history
Change product_pk to line_pk in apps.customer.wishlists.views.WishListMoveProductToAnotherWishList
  • Loading branch information
zsoobhan committed Jul 24, 2014
1 parent 43c7c9e commit 5520871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscar/apps/customer/wishlists/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class WishListMoveProductToAnotherWishList(LineMixin, View):
def dispatch(self, request, *args, **kwargs):
try:
self.fetch_line(request.user, kwargs['key'],
product_pk=kwargs['product_pk'])
line_pk=kwargs['line_pk'])
except (ObjectDoesNotExist, MultipleObjectsReturned):
raise Http404
return super(WishListMoveProductToAnotherWishList, self).dispatch(
Expand Down

0 comments on commit 5520871

Please sign in to comment.