bornhack-website/shop/migrations/0003_auto_20160513_0646.py
Thomas Steen Rasmussen fabc583193 add migration
2016-05-13 08:46:40 +02:00

37 lines
1.4 KiB
Python

# -*- 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).'),
),
]