用于管理消息内容集合的restful api
django-messaging-contentstore的Python项目详细描述
用于管理消息内容集合的restful api。附带一个 客户和假客户。
$ virtualenv ve $ source ve/bin/activate (ve)$ pip install -r requirements.txt (ve)$ pip install -r requirements-dev.txt (ve)$ py.test --ds=testsettings contentstore/tests.py --cov=contentstore
配置
以下配置(虚拟值替换为实际值)需要 添加到settings.py以配置此应用:
INSTALLED_APPS = [ # Usual Django stuff plus # Third-party apps 'djcelery', 'rest_framework', 'rest_framework.authtoken', 'django_filters' ] # REST Framework conf defaults REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',), 'PAGINATE_BY': None, 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.TokenAuthentication', ), 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.IsAuthenticated', ), 'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',) }
发行说明
0.1.7-2015-07-02-为lang添加筛选器,修复客户端中损坏的消息内容url(bump) 0.1.6-2015-07-01-发布缺少init的包 0.1.5-2015-07-01-与客户一起发布软件包并验证是否存在假冒 0.1.4-2015-06-11-python 3 compat导入 0.1.3-2015-05-21-初次发布