用于管理消息内容集合的RESTful API
项目描述
用于管理消息内容集合的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(增量)0.1.6 - 2015-07-01 - 发布缺少初始化的包0.1.5 - 2015-07-01 - 发布包含客户端和验证模拟器的包0.1.4 - 2015-06-11 - Python 3兼容导入0.1.3 - 2015-05-21 - 初次发布
项目详情
关闭
django-messaging-contentstore-0.1.7.tar.gz 的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | e1123a85ea8d45e6a25d7f7622ccdd10da7e4436868ea09caa7ca4caeb38daf3 |
|
MD5 | 6b638541c93f305ac9d95e5108c3ed3a |
|
BLAKE2b-256 | 557c77258e63936d11954ae04273e985cabd95008a336dfcfab2e6014c1e58a6 |