Skip to main content

first

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.

Source Distribution

django-wechat-message-0.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

django_wechat_message-0.0.1-py2.py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page