bornhack-website/src/teams/migrations/0017_auto_20171122_1928.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

63 lines
2 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-11-22 18:28
from __future__ import unicode_literals
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("teams", "0016_auto_20170711_2247")]
operations = [
migrations.CreateModel(
name="TeamTask",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created", models.DateTimeField(auto_now_add=True)),
("updated", models.DateTimeField(auto_now=True)),
(
"name",
models.CharField(
help_text="Short name of this task", max_length=100
),
),
(
"slug",
models.SlugField(
blank=True,
help_text="url slug, leave blank to autogenerate",
max_length=255,
),
),
(
"description",
models.TextField(
help_text="Description of the task. Markdown is supported."
),
),
(
"team",
models.ForeignKey(
help_text="The team this task belongs to",
on_delete=django.db.models.deletion.CASCADE,
to="teams.Team",
),
),
],
options={"ordering": ["name"]},
),
migrations.AlterUniqueTogether(
name="teamtask", unique_together=set([("slug", "team"), ("name", "team")])
),
]