Skip to content

Commit

Permalink
Merge pull request #101 from aleksandrpanteleymonov/master
Browse files Browse the repository at this point in the history
No need to delete the merged anonymous basket after merge
  • Loading branch information
Martijn Jacobs committed Jul 4, 2017
2 parents 756b307 + 7450d72 commit 2a137b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion oscarapi/views/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def get(self, request, format=None):
def merge_baskets(self, anonymous_basket, basket):
"Hook to enforce rules when merging baskets."
basket.merge(anonymous_basket)
anonymous_basket.delete()

def post(self, request, format=None):
ser = self.serializer_class(data=request.data)
Expand Down

0 comments on commit 2a137b3

Please sign in to comment.