Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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


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
django-wechat-member-0.3.5.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

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