{"id":13849451,"url":"https://github.com/ChanMo/django_wechat","last_synced_at":"2025-07-12T16:32:48.391Z","repository":{"id":78745302,"uuid":"47677190","full_name":"ChanMo/django_wechat","owner":"ChanMo","description":"基于django的微信基础模块","archived":false,"fork":false,"pushed_at":"2016-12-18T15:14:23.000Z","size":16830,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-05T19:37:13.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://django-wechat.readthedocs.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChanMo.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-12-09T08:00:11.000Z","updated_at":"2018-05-10T07:43:42.000Z","dependencies_parsed_at":"2023-07-16T22:00:57.648Z","dependency_job_id":null,"html_url":"https://github.com/ChanMo/django_wechat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fdjango_wechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fdjango_wechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fdjango_wechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fdjango_wechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChanMo","download_url":"https://codeload.github.com/ChanMo/django_wechat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225829364,"owners_count":17530663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T19:01:18.452Z","updated_at":"2024-11-22T01:30:56.556Z","avatar_url":"https://github.com/ChanMo.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"基于django的微信基础模块\n========================\n\n此版本已停止更新，把功能进行拆分，分为 `django-wechat-base \u003chttp://github.com/ChanMo/django-wechat-base.git\u003e`_，`django-wechat-message \u003chttp://github.com/ChanMo/django-wechat-message.git\u003e`_，`django-wechat-menu \u003chttp://github.com/ChanMo/django-wechat-menu.git\u003e`_，同时 `django-wechat-member \u003chttp://github.com/ChanMo/django-wechat-member.git\u003e`_， `django-wechat-pay \u003chttp://github.com/ChanMo/django-wechat-pay.git\u003e`_， `django-wechat-qrcode \u003chttp://github.com/ChanMo/django-wechat-qrcode.git\u003e`_ 等模块也进行相应更新。\n\n.. image:: https://readthedocs.org/projects/django-wechat/badge/?version=latest\n    :target: http://django-wechat.readthedocs.org/zh_CN/latest/?badge=latest\n    :alt: Documentation Status\n\n一个基于django的微信基础功能模块\n\n快速开始:\n---------\n\n安装wechat:\n\n.. code-block::\n\n    pip install django-wechat-base\n\n把wechat模块添加到你的settings.py里面:\n\n.. code-block::\n\n    INSTALLED_APPS = (\n        ...\n        'wechat',\n        ...\n    )\n\n在settings.py里面添加微信设置信息:\n\n.. code-block::\n\n    # wechat config\n    WECHAT_APPID = 'test'\n    WECHAT_APPSECRET = 'test'\n    WECHAT_TOKEN = 'yourtoken'\n    WECHAT_MCH_ID = 'test'\n    WECHAT_KEY = 'test'\n    WECHAT_JS_DEBUG = 'test'\n    WECHAT_JS_APILIST = ['test']\n    \n在urls.py里面添加微信接口:\n\n.. code-block::\n\n    url(r'^wx/', include('wechat.urls')),\n\n添加数据表:\n\n.. code-block::\n\n   python manage.py migrate\n\n使用微信开发者模块:\n\n   接口地址为：http://yourdomain/wx/\n   token为: yourtoken\n\n\n\n版本更改:\n---------\n- v0.4 添加多语言支持\n- v0.3 使js配置信息可编辑，添加Qrcode类\n- v0.2 添加WxMemberView\n- v0.1 第一版\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChanMo%2Fdjango_wechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChanMo%2Fdjango_wechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChanMo%2Fdjango_wechat/lists"}