Skip to main content

fixed setup.py encoding 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.

Source Distribution

django-wechat-member-0.3.2.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page