mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-15 06:08:59 +03:00
4517e32224
* 🔧 Add pre-commit config Similar to graphene and graphene-sqlalchemy * ⬆ Bump black * 👷 Lint on CI * ⬆ Bump flake8-black * 🔧 Keep excluding migrations * ⬆ Bump flake8 * 🔧 Remove black and flake8 from tox config * ⬆ Update pre-commit versions * Upgrade syntax to python 3.7+ * Format with pre-commit dedent docs/schema.py to allow formatting * Fix tests on python 3.7
32 lines
768 B
Python
32 lines
768 B
Python
# Generated by Django 1.9 on 2016-11-04 01:06
|
|
|
|
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,
|
|
),
|
|
),
|
|
]
|