Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

fixed admin avatar error

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

使用 WxMemberViewself.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

This version
History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_wechat_member-0.3.5-py3-none-any.whl (8.1 kB) Copy SHA256 hash SHA256 Wheel 3.5 Nov 17, 2016
django-wechat-member-0.3.5.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None Nov 17, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page