fixed python3 support
Project description
基于django-wechat-base的微信会员模块
快速开始:
安装django-wechat-member:
pip install django-wechat-member
修改 settings.py 文件:
INSTALLED_APPS = (
...
'wechat',
'wechat_member',
)
修改 urls.py 文件:
url(r'^wx_member/', include('wechat_member.urls', namespace='wx_member')),
更新数据库:
./manage.py makemigrations wechat_member
./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
...
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
Close
Hashes for django-wechat-member-0.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9649da9ad24f5cc399c2cdd64e9ed93dc398280efdc5fe1d88fc914e0a8dc81 |
|
MD5 | 0265ff1edd40883a50466b73c0d25056 |
|
BLAKE2b-256 | aeae5126fdd0de986b20729b52e068794c0cb21fd59994df00e81dbb5a8caa55 |