mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Add an unknown payment type.
This commit is contained in:
parent
e497b16291
commit
589f69932f
20
bikeshop_project/core/migrations/0018_auto_20160626_1844.py
Normal file
20
bikeshop_project/core/migrations/0018_auto_20160626_1844.py
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2016-06-26 18:44
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0017_auto_20160626_1842'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='payment',
|
||||
name='type',
|
||||
field=models.CharField(choices=[('NONE', 'None'), ('CASH', 'Cash'), ('CHEQUE', 'Cheque'), ('VOLUNTEERING', 'Volunteering'), ('SQUARE', 'Square'), ('PAYPAL', 'PayPal'), ('UNKNOWN', 'Unknown')], default='NONE', max_length=12),
|
||||
),
|
||||
]
|
@ -39,7 +39,8 @@ class Payment(models.Model):
|
||||
('CHEQUE', 'Cheque'),
|
||||
('VOLUNTEERING', 'Volunteering'),
|
||||
('SQUARE', 'Square'),
|
||||
('PAYPAL', 'PayPal')
|
||||
('PAYPAL', 'PayPal'),
|
||||
('UNKNOWN', 'Unknown')
|
||||
)
|
||||
type = models.CharField(max_length=12, choices=payment_choices, default='NONE')
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user