Added "comments" and "tags" to vouchers

This commit is contained in:
Raphael Michel
2016-06-01 12:45:32 +02:00
parent 8c188641ee
commit cc9a9723fe
6 changed files with 59 additions and 9 deletions

View File

@@ -18,7 +18,8 @@ class VoucherForm(I18nModelForm):
model = Voucher
localized_fields = '__all__'
fields = [
'code', 'valid_until', 'block_quota', 'allow_ignore_quota', 'price'
'code', 'valid_until', 'block_quota', 'allow_ignore_quota', 'price', 'tag',
'comment'
]
def __init__(self, *args, **kwargs):