bornhack-website/src/sponsors/migrations/0002_auto_20170711_2341.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

51 lines
1.5 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-11 21:41
from __future__ import unicode_literals
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("sponsors", "0001_initial")]
operations = [
migrations.CreateModel(
name="SponsorTier",
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="Name of the tier (gold, silver, etc.)", max_length=25
),
),
(
"description",
models.TextField(
help_text="A description of what the tier includes."
),
),
],
options={"abstract": False},
),
migrations.AlterField(
model_name="sponsor",
name="tier",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="sponsors.SponsorTier"
),
),
]