bornhack-website/src/shop/migrations/0054_auto_20180415_1159.py
Thomas Steen Rasmussen 00af109e2f
add flake8 and isort to pre-commit config, make flake8 and isort happy (#441)
* add flake8 to pre-commit config, and fixup many things to make flake8 happy

* add isort and sort all imports, add to pre-commit and requirements
2020-02-12 13:10:41 +01:00

49 lines
1.4 KiB
Python

# Generated by Django 2.0.4 on 2018-04-15 16:59
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("shop", "0053_auto_20180318_0906")]
operations = [
migrations.AddField(
model_name="product",
name="stock_amount",
field=models.IntegerField(
blank=True,
help_text="Initial amount available in stock if there is a limited supply, e.g. fridge space",
null=True,
),
),
migrations.AlterField(
model_name="epaypayment",
name="order",
field=models.OneToOneField(
on_delete=django.db.models.deletion.PROTECT, to="shop.Order"
),
),
migrations.AlterField(
model_name="invoice",
name="customorder",
field=models.OneToOneField(
blank=True,
null=True,
on_delete=django.db.models.deletion.PROTECT,
to="shop.CustomOrder",
),
),
migrations.AlterField(
model_name="invoice",
name="order",
field=models.OneToOneField(
blank=True,
null=True,
on_delete=django.db.models.deletion.PROTECT,
to="shop.Order",
),
),
]