00af109e2f
* 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
30 lines
766 B
Python
30 lines
766 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.9.6 on 2016-05-15 16:04
|
|
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("shop", "0003_auto_20160513_0646")]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="productcategory",
|
|
name="slug",
|
|
field=models.SlugField(default=""),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AlterField(
|
|
model_name="product",
|
|
name="category",
|
|
field=models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
related_name="products",
|
|
to="shop.ProductCategory",
|
|
),
|
|
),
|
|
]
|