bornhack-website/src/shop/migrations/0050_auto_20170916_1336.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

43 lines
1.3 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-09-16 11:36
from __future__ import unicode_literals
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("shop", "0049_auto_20170914_2034")]
operations = [
migrations.AddField(
model_name="creditnote",
name="customer",
field=models.TextField(
blank=True, default="", help_text="Customer info if no user is selected"
),
),
migrations.AlterField(
model_name="creditnote",
name="text",
field=models.TextField(
help_text="Description of what this credit note covers"
),
),
migrations.AlterField(
model_name="creditnote",
name="user",
field=models.ForeignKey(
blank=True,
help_text="The user this credit note belongs to, if any.",
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="creditnotes",
to=settings.AUTH_USER_MODEL,
verbose_name="User",
),
),
]