permit blank
This commit is contained in:
parent
171553677c
commit
eac9cbfa1e
20
src/shop/migrations/0038_auto_20170323_2021.py
Normal file
20
src/shop/migrations/0038_auto_20170323_2021.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.5 on 2017-03-23 19:21
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('shop', '0037_auto_20170319_2204'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='payment_method',
|
||||
field=models.CharField(blank=True, choices=[('credit_card', 'Credit card'), ('blockchain', 'Blockchain'), ('bank_transfer', 'Bank transfer'), ('cash', 'Cash')], default='', max_length=50),
|
||||
),
|
||||
]
|
|
@ -95,6 +95,7 @@ class Order(CreatedUpdatedModel):
|
|||
max_length=50,
|
||||
choices=PAYMENT_METHOD_CHOICES,
|
||||
default='',
|
||||
blank=True
|
||||
)
|
||||
|
||||
cancelled = models.BooleanField(default=False)
|
||||
|
|
Loading…
Reference in a new issue