mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-25 11:04:11 +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
303 lines
5.2 KiB
JSON
303 lines
5.2 KiB
JSON
[
|
|
{
|
|
"fields": {
|
|
"date_joined": "2016-11-03T18:24:40Z",
|
|
"email": "asdf@example.com",
|
|
"first_name": "",
|
|
"groups": [],
|
|
"is_active": true,
|
|
"is_staff": true,
|
|
"is_superuser": true,
|
|
"last_login": "2016-11-04T00:46:58Z",
|
|
"last_name": "",
|
|
"password": "pbkdf2_sha256$24000$0SgBlSlnbv5c$ijVQipm2aNDlcrTL8Qi3SVNHphTm4HIsDfUi4kn9tog=",
|
|
"user_permissions": [],
|
|
"username": "admin"
|
|
},
|
|
"model": "auth.user",
|
|
"pk": 1
|
|
},
|
|
{
|
|
"fields": {
|
|
"instructions": "https://xkcd.com/720/",
|
|
"title": "Cheerios With a Shot of Vermouth"
|
|
},
|
|
"model": "recipes.recipe",
|
|
"pk": 1
|
|
},
|
|
{
|
|
"fields": {
|
|
"instructions": "https://xkcd.com/720/",
|
|
"title": "Quail Eggs in Whipped Cream and MSG"
|
|
},
|
|
"model": "recipes.recipe",
|
|
"pk": 2
|
|
},
|
|
{
|
|
"fields": {
|
|
"instructions": "https://xkcd.com/720/",
|
|
"title": "Deep Fried Skittles"
|
|
},
|
|
"model": "recipes.recipe",
|
|
"pk": 3
|
|
},
|
|
{
|
|
"fields": {
|
|
"instructions": "https://xkcd.com/720/",
|
|
"title": "Newt ala Doritos"
|
|
},
|
|
"model": "recipes.recipe",
|
|
"pk": 4
|
|
},
|
|
{
|
|
"fields": {
|
|
"instructions": "Chop up and add together",
|
|
"title": "Fruit Salad"
|
|
},
|
|
"model": "recipes.recipe",
|
|
"pk": 5
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 1.0,
|
|
"ingredient": 9,
|
|
"recipes": 5,
|
|
"unit": "unit"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 1
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 2.0,
|
|
"ingredient": 10,
|
|
"recipes": 5,
|
|
"unit": "unit"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 2
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 3.0,
|
|
"ingredient": 7,
|
|
"recipes": 5,
|
|
"unit": "unit"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 3
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 4.0,
|
|
"ingredient": 8,
|
|
"recipes": 5,
|
|
"unit": "unit"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 4
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 1.0,
|
|
"ingredient": 5,
|
|
"recipes": 4,
|
|
"unit": "kg"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 5
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 2.0,
|
|
"ingredient": 6,
|
|
"recipes": 4,
|
|
"unit": "l"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 6
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 1.0,
|
|
"ingredient": 4,
|
|
"recipes": 3,
|
|
"unit": "unit"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 7
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 1.0,
|
|
"ingredient": 2,
|
|
"recipes": 2,
|
|
"unit": "kg"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 8
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 2.0,
|
|
"ingredient": 11,
|
|
"recipes": 2,
|
|
"unit": "l"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 9
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 3.0,
|
|
"ingredient": 12,
|
|
"recipes": 2,
|
|
"unit": "st"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 10
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 1.0,
|
|
"ingredient": 1,
|
|
"recipes": 1,
|
|
"unit": "kg"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 11
|
|
},
|
|
{
|
|
"fields": {
|
|
"amount": 1.0,
|
|
"ingredient": 3,
|
|
"recipes": 1,
|
|
"unit": "st"
|
|
},
|
|
"model": "recipes.recipeingredient",
|
|
"pk": 12
|
|
},
|
|
{
|
|
"fields": {
|
|
"name": "fruit"
|
|
},
|
|
"model": "ingredients.category",
|
|
"pk": 1
|
|
},
|
|
{
|
|
"fields": {
|
|
"name": "xkcd"
|
|
},
|
|
"model": "ingredients.category",
|
|
"pk": 3
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 3,
|
|
"name": "Cheerios",
|
|
"notes": "this is a note"
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 1
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 3,
|
|
"name": "Quail Eggs",
|
|
"notes": "has more notes"
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 2
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 3,
|
|
"name": "Vermouth",
|
|
"notes": ""
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 3
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 3,
|
|
"name": "Skittles",
|
|
"notes": ""
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 4
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 3,
|
|
"name": "Newt",
|
|
"notes": "Braised and Confuesd"
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 5
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 3,
|
|
"name": "Doritos",
|
|
"notes": "Crushed"
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 6
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 1,
|
|
"name": "Apple",
|
|
"notes": ""
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 7
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 1,
|
|
"name": "Orange",
|
|
"notes": ""
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 8
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 1,
|
|
"name": "Banana",
|
|
"notes": ""
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 9
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 1,
|
|
"name": "Grapes",
|
|
"notes": ""
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 10
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 3,
|
|
"name": "Whipped Cream",
|
|
"notes": ""
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 11
|
|
},
|
|
{
|
|
"fields": {
|
|
"category": 3,
|
|
"name": "MSG",
|
|
"notes": ""
|
|
},
|
|
"model": "ingredients.ingredient",
|
|
"pk": 12
|
|
}
|
|
]
|