可恢复库的django集成
restible-django的Python项目详细描述
restable django是提供django与 restible。包括基础资源 类DjangoResource,可用于根据 django模型定义以及集成 restible有django路由。
注意
可以找到Circleci构建 here
安装
$ pip install restible-django
贡献
设置开发回购
$ git clone git@github.com:novopl/restible-django.git $ cd restible-django $ virtualenv env $ source ./env/bin/activate # python setup.py develop $ pip install -r ops/devrequirements.txt $ peltak git add-hooks
运行测试
config:测试类型在pelconf.py和 pytest配置在ops/tools/pytest.ini中定义。
$ peltak test
起毛
config:要lint的位置列表在pelconf.py中定义,并且 linters配置在ops/tools/{pylint,pep8}.ini中定义。
$ peltak lint
生成文档
config:文档文件和常规配置的列表位于 pelconf.py,sphinx配置在docs/conf.py中定义。
$ peltak docs