没有合适的资源?快使用搜索试试~ 我知道了~
corstutorial:涉及Django后端和Ionic客户端的CORS教程
共45个文件
py:13个
html:7个
js:5个
需积分: 5 0 下载量 52 浏览量
2021-05-25
10:35:55
上传
评论
收藏 34KB ZIP 举报
温馨提示
CORS教程 作者:亚伦·勇(Aaron Yong) 许可证:Apache 2.0 动机 或跨源资源共享需要在后端和前端进行特定配置。 我个人实际上对CORS并没有太多的经验,所以将其作为一个周末项目以更好地了解CORS。 安装 ###先决条件: (可选) (可选) (Mac OS X,Linux) (可选) (Windows) ,可最佳模拟移动设备 ### Django 导航到website目录,然后运行pip install -r ./requirements/dev.txt以安装后端依赖项。 导航到website/corstutorial目录并运行: python manage.py migrate [Enter superuser credentials] 运行服务器(默认情况下使用corstutorial.settings.dev ,请勿在生产环境中运行此设
资源推荐
资源详情
资源评论
收起资源包目录
corstutorial-master.zip (45个子文件)
corstutorial-master
website
requirements.txt 31B
requirements
base.txt 144B
production.txt 12B
dev.txt 58B
corstutorial
templates
.gitkeep 0B
media
.gitkeep 0B
static
.gitkeep 0B
manage.py 346B
corstutorial
wsgi.py 399B
__init__.py 0B
settings
dev.py 625B
__init__.py 0B
base.py 3KB
urls.py 698B
apps
api
serializers.py 39B
__init__.py 0B
migrations
__init__.py 0B
views.py 36B
urls.py 413B
__init__.py 0B
LICENSE 11KB
app
corstutorial
hooks
after_prepare
010_add_platform_class.js 3KB
README.md 3KB
www
css
style.css 42B
img
ionic.png 5KB
templates
menu.html 1KB
playlists.html 245B
browse.html 96B
playlist.html 100B
search.html 96B
login.html 821B
index.html 1007B
js
controllers.js 2KB
app.js 3KB
services.js 3KB
package.json 572B
gulpfile.js 1KB
.bowerrc 29B
config.xml 861B
.gitignore 138B
scss
ionic.app.scss 825B
bower.json 181B
ionic.project 74B
.gitignore 723B
README.md 2KB
共 45 条
- 1
资源评论
李凜之
- 粉丝: 36
- 资源: 4602
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功