Skip to main content

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

使用 WxMemberViewself.wx_member :

from wechat_member.views import WxMemberView

class TestView(WxMemberView):
    def get_context_data(self, **kwargs):
        member = self.wx_member
        pass

Project details


Download files

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

Files for django-wechat-member, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size django_wechat_member-0.3.1-py3-none-any.whl (8.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-wechat-member-0.3.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page