Skip to main content

django wechat pay, fixed view error

Project description

快速开始:

安装django-wechat-pay:

pip install django-wechat-pay

修改settings.py文件:

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

在settings.py文件底部添加:

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

版本更改:

  • v0.1 第一版

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-pay, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size django_wechat_pay-0.0.6-py3-none-any.whl (6.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-wechat-pay-0.0.6.tar.gz (4.1 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