Improve voucher redemption filter (#792)

This commit is contained in:
Raphael Michel
2018-03-03 11:58:59 +01:00
committed by GitHub
parent d537e6a869
commit e35e264d81
2 changed files with 9 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ class Voucher(LoggedModel):
:param max_usages: The number of times this voucher can be redeemed
:type max_usages: int
:param redeemed: The number of times this voucher already has been redeemed
:type redeemed: bool
:type redeemed: int
:param valid_until: The expiration date of this voucher (optional)
:type valid_until: datetime
:param block_quota: If set to true, this voucher will reserve quota for its holder