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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2133d8be86396ac010241d015cbd731048eafaacc38bd9ab735a9b9e3b2f8aaf |
|
MD5 | 5ae58910c59f2539c81f5a72183d1323 |
|
BLAKE2b-256 | 125ac9a7ba849d61a74cbbdbb3a5b379a30cc8366903b040aebe836aefd15856 |
Close
Hashes for django_wechat_member-0.1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b93b19351cf8b47e8839293c89185b90185318fdd1de14543d256805c14b2c8 |
|
MD5 | fdf5d8b8d0b857635b8325de666da866 |
|
BLAKE2b-256 | 32354c6f9467f58a54d28bbb37f6e48e57ae07f0664b20a6ad08210abc60a9ac |