文件名称:django_graphql:Django后端中的CRUD
文件大小:78KB
文件格式:ZIP
更新时间:2024-03-06 02:25:58
Python
相依性: pipenv install django graphene-django django-filter django-graphql-jwt virtualenv venv --python=python3.5 pip install django graphene-django source venv/bin/activate django-admin startproject cookbook cd cookbook/ django-admin startapp ingedients python manage.py migrate editamos el modelo cookbook/ingedients/models.py : from django . db import models class Category ( models . Model
【文件预览】:
django_graphql-master
----.gitignore(13B)
----1_cookbook()
--------.gitignore(6B)
--------db.sqlite3(46KB)
--------README.md(6KB)
--------manage.py(628B)
--------ingredients()
--------cookbook()
----README.md(28KB)
----2_relay_filtering()
--------db.sqlite3(46KB)
--------README.md(7KB)
--------manage.py(628B)
--------ingredients()
--------cookbook()
----Pipfile.lock(6KB)
----Pipfile(239B)
----graphql_platzi.md(3KB)
----3_mutations()
--------.gitignore(6B)
--------db.sqlite3(49KB)
--------README.md(3KB)
--------manage.py(628B)
--------ingredients()
--------cookbook()
----hackernews()
--------links()
--------db.sqlite3(48KB)
--------README.md(16KB)
--------manage.py(630B)
--------hackernews()
--------users()