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
使用 WxMemberView 和 self.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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-wechat-member-0.3.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef6a98164b4f6fa28a98666479b852819d68bcd62bfad7654fca3523eecc32d0 |
|
MD5 | c864b1998060a51b19f2cb8cb9e8cffa |
|
BLAKE2b-256 | 17540dc2da78476ec5ff8c1c6a1c26230aa415644b9226c3c1241a32b5605b36 |
Close
Hashes for django_wechat_member-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57ccf0707d77cdc87ca62f498e26b394259d36591f553bd49f80120b398dec86 |
|
MD5 | 2cffc3e70e200ea88abbcaf866bdc6cc |
|
BLAKE2b-256 | edac8b8576f6bdd236d2f9191925705adbb3a378bfcecf3c75bec993af4c15a2 |