add city to member list, change avatar_url name
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.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a077470d3e60c7b03d438ca14ec17087607de782aa812b0f2868d1598848675 |
|
MD5 | 6773942fd5c693bbfdf2bd1a9a0a691a |
|
BLAKE2b-256 | 0170cf063a32409904cd7ca7ce8452b51d3e6b03339ae240a1da08bf73b4fd90 |
Close
Hashes for django_wechat_member-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 174fbbbe87316f3c71e577231e7e245877aa4f5b8179d1928819ae0e89156af5 |
|
MD5 | 2a10232d2e285b2f21c5d63a20c38dff |
|
BLAKE2b-256 | 3981095bfd6f32cd11d22e7cdc40127e24cd2fb04ab252addec1ad33033a35aa |