use new django-wechat-base 1.1
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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5eacd7b2820119d92159bdda2e20716e57c0464ad2edc5415b30ae187f1d5a1 |
|
MD5 | d90259418cb87eaf34e738d6ecf019f4 |
|
BLAKE2b-256 | 967dca761621a76789bfd76e8995e613f5b757454fc28682d17489b220069c00 |
Close
Hashes for django_wechat_member-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8099ca55f1ef71504500054cc3612baf3ffb7ed7c299c90892d3ca4b0180be74 |
|
MD5 | d6fbdd89a30c8d89c8a35d535bf91a9e |
|
BLAKE2b-256 | 034653fc9ec14c0edb38e9478a910f692e5bd873dcc0507bb40545ac4e545969 |