Skip to main content

基于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

使用 WxMemberView 和 self.wx_member :

from wechat_member.views import WxMemberView

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

Metadata

Release files for django-wechat-member 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-wechat-member 0.3.5
File Size Uploaded Provenance
django-wechat-member-0.3.5.tar.gz 4.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-wechat-member 0.3.5
File Interpreter ABI Platform
django_wechat_member-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / django-wechat-member-0.3.5.tar.gz

Download URL django-wechat-member-0.3.5.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ef6a98164b4f6fa28a98666479b852819d68bcd62bfad7654fca3523eecc32d0
BLAKE2b-256 checksum
How to use checksums
17540dc2da78476ec5ff8c1c6a1c26230aa415644b9226c3c1241a32b5605b36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_wechat_member-0.3.5-py3-none-any.whl

Download URL django_wechat_member-0.3.5-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57ccf0707d77cdc87ca62f498e26b394259d36591f553bd49f80120b398dec86
BLAKE2b-256 checksum
How to use checksums
edac8b8576f6bdd236d2f9191925705adbb3a378bfcecf3c75bec993af4c15a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-wechat-member 0.3.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page