python_django_rest_api_sqlite:python_django_rest_api_sqlite

时间:2021-04-04 13:04:04
【文件属性】:
文件名称:python_django_rest_api_sqlite:python_django_rest_api_sqlite
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-04 13:04:04
Python python_django_rest_api_sqlite GET —最常用的选项,根据您访问的端点和您提供的任何参数从API返回一些数据 POST —创建一条新记录,该记录将附加到数据库中 PUT —在您提供的给定URI上查找记录。 如果存在,请更新现有记录。 如果没有,请创建一个新记录 DELETE —删除给定URI处的记录 PATCH-更新记录的各个字段 python manage.py迁移 创建超级用户 python manage.py createsuperuser 用户:(留空以使用): 经过 : *** python manage.py运行服务器 本地主机:8000 本地主机:8000 / admin 从django.db导入模型 类Hero(models.Model): name = models.CharField(max_length=
【文件预览】:
python_django_rest_api_sqlite-main
----README.md(3KB)
----mysite()
--------db.sqlite3(132KB)
--------manage.py(662B)
--------myapi()

网友评论