Skip to main content

fixed views error,qrcodeview is not defined

Project description

功能说明:

  • 每个微信会员有一个唯一的二维码
  • 可以记录用户的来源

快速开始:

安装 django-wechat-qrcode :

pip install django-wechat-qrcode

修改 settings.py 文件:

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

修改 urls.py 文件:

url(r'^qrcode/', include('qrcode.urls')),

更新数据库:

python manage.py makemigrations django_qrcode
python manage.py migrate

微信开发者链接:

http://yourdomain/qrcode/api/

用户二维码主页:

http://yourdomain/qrcode/

版本更改:

  • v1.0 模块名称更新为wechat_qrcode

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-qrcode, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_wechat_qrcode-1.0.1-py2.py3-none-any.whl (14.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size django-wechat-qrcode-1.0.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page