该项目为django rest框架提供了一个类似facebook的消息传递api。
django-rest-messaging的Python项目详细描述
该项目为django rest框架提供了一个类似facebook的消息传递api。
要求
- Python(2.7,3.3,3.4)
- Django(1.6、1.7、1.8)
- django rest框架(2.4、3.0、3.1)
安装
使用pip…
安装$ pip install django-rest-messaging
示例
待办事项:写例子。
测试
安装测试要求。
$ pip install -r requirements.txt
使用运行测试运行。
$ ./runtests.py
您还可以使用优秀的tox测试工具来运行测试 针对所有受支持的python和django版本。安装TOX 全局,然后简单地运行:
$ tox
文档
要构建文档,您需要安装mkdocs。
$ pip install mkdocs
预览文档:
$ mkdocs serve Running at: http://127.0.0.1:8000/
构建文档:
$ mkdocs build