{"id":22916750,"url":"https://github.com/chanmo/django-sms-cn","last_synced_at":"2026-04-11T21:33:03.096Z","repository":{"id":57422061,"uuid":"200339921","full_name":"ChanMo/django-sms-cn","owner":"ChanMo","description":"Django SMS APP","archived":false,"fork":false,"pushed_at":"2020-03-26T06:36:25.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T15:47:04.309Z","etag":null,"topics":["aliyun","django","sms"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChanMo.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2019-08-03T06:19:06.000Z","updated_at":"2023-03-03T06:29:14.000Z","dependencies_parsed_at":"2022-09-06T07:12:12.233Z","dependency_job_id":null,"html_url":"https://github.com/ChanMo/django-sms-cn","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-sms-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fdjango-sms-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fdjango-sms-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fdjango-sms-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChanMo","download_url":"https://codeload.github.com/ChanMo/django-sms-cn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229669595,"owners_count":18104715,"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":["aliyun","django","sms"],"created_at":"2024-12-14T06:14:33.572Z","updated_at":"2025-10-15T10:58:34.645Z","avatar_url":"https://github.com/ChanMo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django SMS CN\n\n基于Django的短信模块\n\n## Platforms\n\n- [x] [253](https://zz.253.com/v5.html#/api_doc)\n- [x] [阿里云](https://help.aliyun.com/product/44282.html)\n\n## Quick start\n\n安装`django-sms-cn`\n\n```\n$ pip install aliyun-python-sdk-core # 如果需要使用aliyun\n$ pip install django-sms-cn\n```\n\n在`settings.py`中修改INSTALLED_APPS\n\n```python\nINSTALLED_APPS = [\n    ...\n    'sms'\n]\n```\n\n在`settings.py`底部加配置信息\n\n```python\nSMS = {\n    'default': '253',\n    'appid': '',\n    'secret': ''\n}\n```\n\n修改`urls.py`\n\n```python\nurlpatterns = [\n    ...\n    path('sms/', include('sms.urls'))\n]\n```\n\n更新数据库\n\n```bash\n$ python manage.py migrate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmo%2Fdjango-sms-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanmo%2Fdjango-sms-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmo%2Fdjango-sms-cn/lists"}