Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanMo committed Apr 9, 2016
1 parent fb4f2eb commit 5fec5ad
Show file tree
Hide file tree
Showing 57 changed files with 15,824 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
基于django的微信基础模块
========================

一个基于django的微信基础功能模块
一个基于django的微信基础功能模块.文档地址http://django-wechat.readthedocs.org

快速开始:
---------
Expand Down
Binary file added docs/_build/.doctrees/index.doctree
Binary file not shown.
Binary file added docs/_build/.doctrees/intro.doctree
Binary file not shown.
Binary file added docs/_build/.doctrees/start.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/_build_html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 43d22ff0ebec04b511688f1162742617
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added docs/_build_html/.doctrees/environment.pickle
Binary file not shown.
Binary file added docs/_build_html/.doctrees/index.doctree
Binary file not shown.
Binary file added docs/_build_html/.doctrees/intro.doctree
Binary file not shown.
Binary file added docs/_build_html/.doctrees/start.doctree
Binary file not shown.
87 changes: 87 additions & 0 deletions docs/_build_html/_sources/index.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
.. django_wechat documentation master file, created by
sphinx-quickstart on Sat Apr 9 15:12:39 2016.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

django_wechat
=============

django_wechat 是一个基于django的微信基础模块,提供了微信的最基础接口功能.

功能:
-----

- 关注回复(关键字为"关注")
- 默认回复(关键字为"默认")
- 文本回复
- 单图文回复
- 自定义菜单

使用方法:
---------

安装依赖模块::

pip install xmltodict

安装wechat::

pip install git+https://github.com/ChanMo/django_wechat.git

把wechat模块添加到你的settings.py里面::

INSTALLED_APPS = (
...
'wechat',
...
)


在settings.py里面添加微信设置信息::

# wechat config
WECHAT_APPID = 'test'
WECHAT_APPSECRET = 'test'
WECHAT_TOKEN = 'yourtoken'
WECHAT_MCH_ID = 'test'
WECHAT_KEY = 'test'
WECHAT_JS_DEBUG = 'test'
WECHAT_JS_APILIST = ['test']

在urls.py里面添加微信接口::

url(r'^wx/', include('wechat.urls')),

添加数据表::

python manage.py migrate

使用微信开发者模块::

接口地址为:http://yourdomain/wx/
token为: yourtoken


api模块:
--------

- Base
- Menu
- Push
- Reponse
- Member
- Pay
- Js
- Qrcode


开发者:
-------

- chanmo: http://www.findchen.com/

版本更改:
---------
- v0.3 使js配置信息可编辑,添加Qrcode类
- v0.2 添加WxMemberView
- v0.1 第一版
2 changes: 2 additions & 0 deletions docs/_build_html/_sources/intro.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Intro
######
66 changes: 66 additions & 0 deletions docs/_build_html/_sources/start.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
基于django的微信基础模块
========================

一个基于django的微信基础功能模块

快速开始:
---------

安装依赖模块:

.. code-block::

pip install xmltodict

安装wechat:

.. code-block::

pip install git+https://github.com/ChanMo/django_wechat.git

把wechat模块添加到你的settings.py里面:

.. code-block::

INSTALLED_APPS = (
...
'wechat',
...
)

在settings.py里面添加微信设置信息:

.. code-block::

# wechat config
WECHAT_APPID = 'test'
WECHAT_APPSECRET = 'test'
WECHAT_TOKEN = 'yourtoken'
WECHAT_MCH_ID = 'test'
WECHAT_KEY = 'test'
WECHAT_JS_DEBUG = 'test'
WECHAT_JS_APILIST = ['test']

在urls.py里面添加微信接口:

.. code-block::

url(r'^wx/', include('wechat.urls')),

添加数据表:

.. code-block::

python manage.py migrate

使用微信开发者模块:

接口地址为:http://yourdomain/wx/
token为: yourtoken


版本更改:
---------
- v0.3 使js配置信息可编辑,添加Qrcode类
- v0.2 添加WxMemberView
- v0.1 第一版
Binary file added docs/_build_html/_static/ajax-loader.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5fec5ad

Please sign in to comment.