Skip to content
Snippets Groups Projects
Commit 50714faa authored by Piotr Gawron's avatar Piotr Gawron
Browse files

voucher contains activity_type field

parent a042a82b
No related branches found
No related tags found
1 merge request!151Resolve "voucher should have optional activy type (free text)"
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-07-17 12:54
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('web', '0116_auto_20180611_1346'),
]
operations = [
migrations.AddField(
model_name='voucher',
name='activity_type',
field=models.CharField(blank=True, default=b'', max_length=40, verbose_name=b'Activity type'),
),
]
......@@ -48,6 +48,13 @@ class Voucher(models.Model):
default=VOUCHER_STATUS_NEW
)
activity_type = models.CharField(max_length=40,
verbose_name='Activity type',
null=False,
blank=True,
default=''
)
feedback = models.TextField(max_length=2000,
blank=True,
verbose_name='Feedback'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment