A helper Django app that handles wechat mini program login and user info updating logic
Project description
#Weapp Auth
Weapp auth is a Django app that helps to handle wechat mini program login and user info updating logic.
Quick start
-
Add "weapp_auth" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'weapp_auth', ]
-
Include the weapp_auth URLconf in your project urls.py like this::
path('weapp_auth/', include('weapp_auth.urls')),
-
Run
python manage.py migrate
to create the polls models. -
These two APIs are avaliable!
weapp_auth/wechatLogin/
andweapp_auth/wechatUpdateUserInfo/
-
Call these two APIs in your wechat mini app!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.