Skip to main content

fixed default queryset error, replace get by filter

Project description

基于django-wechat-base的简单微信消息管理模块

快速开始:

安装django-wechat-message:

pip install django-wechat-message

修改settings.py文件:

INSTALLED_APPS = (
    ...
    'wechat',
    'wechat_message',
    ...
)

在settings.py文件底部添加:

# wechat config
WECHAT = [
    {
        'appid': 'demo',
        'appsecret': 'demo',
        'token': 'demo',
    },
]

修改urls.py文件:

urlpatterns = [
    ...
    url(r'^wx/', include('wechat_message.urls', namespace='wx')),
    ...
]

版本更改:

  • v1.0 使用统一的xml回复

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-wechat-message, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size django_wechat_message-0.0.5-py2.py3-none-any.whl (8.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-wechat-message-0.0.5.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page