Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable multiple redeem of non permanent redeeming products #2

Merged
merged 5 commits into from
Apr 12, 2022

Conversation

berinhard
Copy link
Collaborator

@ewdurbin I guess this change should be enough for redeeming a product multiple times as we spoke this monday. I couldn't figure out how to run the migrations to change the database to have this new field, so any help here would be welcome.

Edits are allowed by maintainers, so you'll probably be able to push the migrations if you're good with that.

@berinhard berinhard requested a review from ewdurbin April 12, 2022 18:58
commerce.Cart.STATUS_PAID,
category=category,
redeemable=True,
permanent_redemption=permanent_redemption
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be a separate filter added similar to line 81

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never mind :-D

@ewdurbin ewdurbin merged commit d5473cf into PyCon:pycon Apr 12, 2022
@berinhard berinhard deleted the pycon branch April 12, 2022 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants