Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ChanMo/django_wechat
基于django的微信基础模块
https://github.com/ChanMo/django_wechat
Last synced: 3 months ago
JSON representation
基于django的微信基础模块
- Host: GitHub
- URL: https://github.com/ChanMo/django_wechat
- Owner: ChanMo
- License: other
- Created: 2015-12-09T08:00:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-18T15:14:23.000Z (about 8 years ago)
- Last Synced: 2024-08-05T19:37:13.247Z (7 months ago)
- Language: Python
- Homepage: http://django-wechat.readthedocs.org
- Size: 16.1 MB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
基于django的微信基础模块
========================此版本已停止更新,把功能进行拆分,分为 `django-wechat-base `_,`django-wechat-message `_,`django-wechat-menu `_,同时 `django-wechat-member `_, `django-wechat-pay `_, `django-wechat-qrcode `_ 等模块也进行相应更新。
.. image:: https://readthedocs.org/projects/django-wechat/badge/?version=latest
:target: http://django-wechat.readthedocs.org/zh_CN/latest/?badge=latest
:alt: Documentation Status一个基于django的微信基础功能模块
快速开始:
---------安装wechat:
.. code-block::
pip install django-wechat-base
把wechat模块添加到你的settings.py里面:
.. code-block::
INSTALLED_APPS = (
...
'wechat',
...
)在settings.py里面添加微信设置信息:
.. code-block::
# wechat config
WECHAT_APPID = 'test'
WECHAT_APPSECRET = 'test'
WECHAT_TOKEN = 'yourtoken'
WECHAT_MCH_ID = 'test'
WECHAT_KEY = 'test'
WECHAT_JS_DEBUG = 'test'
WECHAT_JS_APILIST = ['test']
在urls.py里面添加微信接口:.. code-block::
url(r'^wx/', include('wechat.urls')),
添加数据表:
.. code-block::
python manage.py migrate
使用微信开发者模块:
接口地址为:http://yourdomain/wx/
token为: yourtoken版本更改:
---------
- v0.4 添加多语言支持
- v0.3 使js配置信息可编辑,添加Qrcode类
- v0.2 添加WxMemberView
- v0.1 第一版