mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-10-31 07:57:31 +03:00 
			
		
		
		
	* 🔧 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
		
			
				
	
	
		
			27 lines
		
	
	
		
			622 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			622 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Generated by Django 2.0 on 2018-10-18 17:28
 | |
| 
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ("recipes", "0002_auto_20161104_0106"),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AlterField(
 | |
|             model_name="recipeingredient",
 | |
|             name="unit",
 | |
|             field=models.CharField(
 | |
|                 choices=[
 | |
|                     ("unit", "Units"),
 | |
|                     ("kg", "Kilograms"),
 | |
|                     ("l", "Litres"),
 | |
|                     ("st", "Shots"),
 | |
|                 ],
 | |
|                 max_length=20,
 | |
|             ),
 | |
|         ),
 | |
|     ]
 |