A simple wechat api model.
Project description
基于django和 微信 的会员模块
快速开始:
添加依赖:
wechat模块的使用方法查看 这里
修改 settings.py 文件:
INSTALLED_APPS = (
...
'wechat',
'wechat_member',
)
修改 urls.py 文件:
url(r'^wx_member/', include('wechat_member.urls', namespace='wx_member')),
添加数据表:
python manage.py migrate
使用 WxMemberView 和 self.wx_member :
from wechat_member.views import WxMemberView
class TestView(WxMemberView):
def get_context_data(self, **kwargs):
member = self.wx_member
pass
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-wechat-member-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf454f37d6e7399d82b344a5ddb5d4a88b8400fdf0f2ff93b5773a062f66c18 |
|
MD5 | 027507620fc3c9147cc103d4bcca21ae |
|
BLAKE2b-256 | 2fc967b2997fe2a8f547d1f208916dab82d91674a29a52c90f4562da02a705fe |
Close
Hashes for django_wechat_member-0.1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6910c5d8eb4b573553593063581eb8f0bf6797a5dfa3c826e26750584eb961 |
|
MD5 | f7f0677ffa2a86da597850788dcdf7ef |
|
BLAKE2b-256 | 389cffeb0c9f29080b06a48e4eb1f32696a463fba889ae17a93c6e1d34fcb7d5 |