graphene-django/examples/cookbook-plain/cookbook/recipes/migrations/0002_auto_20161104_0106.py
Ülgen Sarıkavak 8383bdc5aa
pre-commit & black (#1340)
* Call black via pre-commit
* Apply black
2022-08-19 09:15:44 +03:00

34 lines
832 B
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-11-04 01:06
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("recipes", "0001_initial"),
]
operations = [
migrations.RenameField(
model_name="recipeingredient",
old_name="recipes",
new_name="recipe",
),
migrations.AlterField(
model_name="recipeingredient",
name="unit",
field=models.CharField(
choices=[
(b"unit", b"Units"),
(b"kg", b"Kilograms"),
(b"l", b"Litres"),
(b"st", b"Shots"),
],
max_length=20,
),
),
]