From e497b16291707e908f1828f4f99556f979a74d54 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Sun, 26 Jun 2016 12:43:58 -0600 Subject: [PATCH] Square reader not Stripe. --- .../migrations/0017_auto_20160626_1842.py | 20 +++++++++++++++++++ bikeshop_project/core/models.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 bikeshop_project/core/migrations/0017_auto_20160626_1842.py diff --git a/bikeshop_project/core/migrations/0017_auto_20160626_1842.py b/bikeshop_project/core/migrations/0017_auto_20160626_1842.py new file mode 100644 index 0000000..a880362 --- /dev/null +++ b/bikeshop_project/core/migrations/0017_auto_20160626_1842.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2016-06-26 18:42 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0016_auto_20160531_0416'), + ] + + operations = [ + migrations.AlterField( + model_name='payment', + name='type', + field=models.CharField(choices=[('NONE', 'None'), ('CASH', 'Cash'), ('CHEQUE', 'Cheque'), ('VOLUNTEERING', 'Volunteering'), ('SQUARE', 'Square'), ('PAYPAL', 'PayPal')], default='NONE', max_length=12), + ), + ] diff --git a/bikeshop_project/core/models.py b/bikeshop_project/core/models.py index f26f45e..3946c38 100644 --- a/bikeshop_project/core/models.py +++ b/bikeshop_project/core/models.py @@ -38,7 +38,7 @@ class Payment(models.Model): ('CASH', 'Cash'), ('CHEQUE', 'Cheque'), ('VOLUNTEERING', 'Volunteering'), - ('STRIPE', 'Stripe'), + ('SQUARE', 'Square'), ('PAYPAL', 'PayPal') ) type = models.CharField(max_length=12, choices=payment_choices, default='NONE')