mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Add youth payment type. (#43)
This commit is contained in:
parent
d11c44985b
commit
34f0a5c563
20
bikeshop_project/core/migrations/0004_auto_20170502_0120.py
Normal file
20
bikeshop_project/core/migrations/0004_auto_20170502_0120.py
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.4 on 2017-05-02 01:20
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0003_auto_20170219_1741'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='payment',
|
||||
name='type',
|
||||
field=models.CharField(choices=[('NONE', 'None'), ('CASH', 'Cash'), ('CHEQUE', 'Cheque'), ('VOLUNTEERING', 'Volunteering'), ('SQUARE', 'Square'), ('PAYPAL', 'PayPal'), ('YOUTH', 'Youth'), ('UNKNOWN', 'Unknown')], default='NONE', max_length=12),
|
||||
),
|
||||
]
|
@ -40,6 +40,7 @@ class Payment(models.Model):
|
||||
('VOLUNTEERING', 'Volunteering'),
|
||||
('SQUARE', 'Square'),
|
||||
('PAYPAL', 'PayPal'),
|
||||
('YOUTH', 'Youth'),
|
||||
('UNKNOWN', 'Unknown')
|
||||
)
|
||||
type = models.CharField(max_length=12, choices=payment_choices, default='NONE')
|
||||
|
Loading…
x
Reference in New Issue
Block a user