add migration
This commit is contained in:
parent
55dfa457d2
commit
fabc583193
36
shop/migrations/0003_auto_20160513_0646.py
Normal file
36
shop/migrations/0003_auto_20160513_0646.py
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.9.2 on 2016-05-13 06:46
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
import django.contrib.postgres.fields.ranges
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('shop', '0002_orderproductrelation_handed_out'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='order',
|
||||||
|
name='finalized',
|
||||||
|
field=models.BooleanField(default=False, help_text='Whether this order has been finalized.', verbose_name='Finalized?'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='order',
|
||||||
|
name='payment_method',
|
||||||
|
field=models.CharField(choices=[(b'credit_card', b'Credit card'), (b'blockchain', b'Blockchain'), (b'bank_transfer', b'Bank transfer')], default=b'blockchain', max_length=50),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='product',
|
||||||
|
name='available_in',
|
||||||
|
field=django.contrib.postgres.fields.ranges.DateTimeRangeField(help_text='Which period is this product available for purchase? | (Format: YYYY-MM-DD HH:MM) | Only one of start/end is required'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='product',
|
||||||
|
name='price',
|
||||||
|
field=models.IntegerField(help_text='Price of the product (in DKK).'),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in a new issue