1
0
mirror of https://github.com/fspc/workstand.git synced 2025-02-23 09:13:23 -05:00

Add paid field.

This commit is contained in:
Drew Larson 2016-05-30 20:38:46 -06:00
parent 34088316ee
commit 02ef99b2b8
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-05-31 02:38
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0013_auto_20160531_0236'),
]
operations = [
migrations.AddField(
model_name='payment',
name='paid',
field=models.BooleanField(default=False),
),
]

View File

@ -34,6 +34,7 @@ class Payment(models.Model):
('PAYPAL', 'paypal')
)
type = models.CharField(max_length=12, choices=payment_choices)
paid = models.BooleanField(default=False)
created_at = models.DateTimeField(auto_now_add=True)