没有合适的资源?快使用搜索试试~ 我知道了~
django-rest-witchcraft:Django REST Framework与SQLAlchemy的集成
共61个文件
py:27个
rst:16个
makefile:2个
需积分: 15 0 下载量 117 浏览量
2021-03-21
03:51:57
上传
评论
收藏 57KB ZIP 举报
温馨提示
Django REST巫术 Django REST Framework与SQLAlchemy的集成 django-rest-witchcraft是Django REST Framework的扩展,增加了对SQLAlchemy的支持。它旨在提供与使用SQLAlchemy的Django REST Framework和Django ORM构建REST api相似的开发经验。 安装 pip install django-rest-witchcraft 快速开始 首先,让我们定义一些简单的模型: import sqlalchemy as sa import sqlalchemy . orm # noqa from sqlalchemy . ext . declarative import declarative_base engine = sa . create_engine ( 'sqlit
资源推荐
资源详情
资源评论
收起资源包目录
django-rest-witchcraft-master.zip (61个子文件)
django-rest-witchcraft-master
MANIFEST.in 467B
rest_witchcraft
field_mapping.py 3KB
utils.py 980B
__init__.py 92B
routers.py 2KB
fields.py 3KB
viewsets.py 1KB
mixins.py 4KB
filters.py 3KB
__version__.py 158B
serializers.py 36KB
generics.py 2KB
README.rst 7KB
.github
workflows
build.yml 1KB
Dockerfile 241B
.gitchangelog.rc 1KB
HISTORY.rst 9KB
requirements.txt 247B
tox.ini 1KB
LICENSE 1KB
setup.cfg 527B
setup.py 2KB
Makefile 3KB
.pre-commit-config.yaml 1KB
docs
conf.py 5KB
history.rst 28B
reqs.txt 42B
index.rst 401B
Makefile 734B
api
rest_witchcraft.filters.rst 159B
rest_witchcraft.generics.rst 162B
rest_witchcraft.viewsets.rst 162B
rest_witchcraft.utils.rst 153B
rest_witchcraft.field_mapping.rst 179B
rest_witchcraft.fields.rst 156B
rest_witchcraft.serializers.rst 171B
rest_witchcraft.rst 426B
modules.rst 82B
rest_witchcraft.routers.rst 159B
rest_witchcraft.mixins.rst 156B
api.rst 83B
docker-compose.yml 857B
.editorconfig 245B
tests
settings.py 763B
test_mixins.py 4KB
test_fields.py 2KB
test_generics.py 2KB
models_composite.py 777B
__init__.py 186B
test_field_mapping.py 4KB
test_serializers.py 57KB
models.py 4KB
test_utils.py 571B
test_routers.py 8KB
urls
testhyperlinkedidentityfield.py 109B
testhyperlinkedidentityfieldcomposite.py 126B
test_filters.py 5KB
.gitignore 528B
pyproject.toml 272B
.coveragerc 28B
.importanizerc 491B
共 61 条
- 1
资源评论
火器营松老三
- 粉丝: 20
- 资源: 4649
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功