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:
parent
34088316ee
commit
02ef99b2b8
20
bikeshop_project/core/migrations/0014_payment_paid.py
Normal file
20
bikeshop_project/core/migrations/0014_payment_paid.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
@ -34,6 +34,7 @@ class Payment(models.Model):
|
|||||||
('PAYPAL', 'paypal')
|
('PAYPAL', 'paypal')
|
||||||
)
|
)
|
||||||
type = models.CharField(max_length=12, choices=payment_choices)
|
type = models.CharField(max_length=12, choices=payment_choices)
|
||||||
|
paid = models.BooleanField(default=False)
|
||||||
created_at = models.DateTimeField(auto_now_add=True)
|
created_at = models.DateTimeField(auto_now_add=True)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user