码迷,mamicode.com
首页 >  
搜索关键字:django url    ( 59195个结果
微信小程序实现微信授权登录
首先,需要通过button按钮来弹出授权框 <button open-type="getUserInfo" @getuserinfo="getUserInfo">微信登录</button> getUserInfo(e) { //拿到用户信息 信息包含头像,昵称 let detail = e.deta ...
分类:微信   时间:2021-03-29 11:35:23    阅读次数:0
05.Restful风格
结合DRF框架提供标准RESTful API接口 https://www.cnblogs.com/xiaonq/p/10053234.html restful说明 1、RESTful不是一种技术,而是一种接口规范,主要规范包括:1.请求方式、2.状态码、3、url规范、4、传参规范 2、RESTfu ...
分类:其他好文   时间:2021-03-26 15:25:35    阅读次数:0
zipkin自定义追踪 tag
需要在工程的pom文件加上sleuth的起步依赖和zipkin的起步依赖,代码如下: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifact ...
分类:其他好文   时间:2021-03-18 14:43:18    阅读次数:0
Django非项目文件导包,终端运行文件报错!
错误介绍 在django项目中,当你从非项目文件夹导包时,在终端运行该文件报无该模块时,是否很困惑,因为当你直接重编辑器pycharm运行又是正常的。 错误情况 from xxx import xx ModuleNotFoundError: No module named "xxx" 错误原因 直接 ...
分类:其他好文   时间:2021-03-18 14:29:59    阅读次数:0
yum(错误:Cannot find a valid baseurl for repo: base)
问题原因在于官方在2020年12月2日正式将CentOS 6相关的软件源移出了官方源,随之而来逐级镜像也会陆续将其删除。 解决方案: curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliy ...
分类:Web程序   时间:2021-03-17 14:13:50    阅读次数:0
18 react-router
react-router: 它通过管理 URL,实现组件的切换和状态的变化,开发复杂的应用几乎肯定会用到。 用法:子路由也可以不写在Router组件里面,单独传入Router组件的routes属性。 组件有一个参数history,它的值hashHistory表示,路由的切换由URL的hash变化决定 ...
分类:其他好文   时间:2021-03-17 14:02:24    阅读次数:0
简单的python爬虫图片获取
# 图片爬取 import re import urllib import urllib.request def gethtml(url): page=urllib.request.urlopen(url) html=page.read() return html def getimg(html): ...
分类:编程语言   时间:2021-03-16 14:08:34    阅读次数:0
Vue 动态引入
界面 <template> <div align="center" > <component :is='modelUrl' ref='child' :data='data' ></component> </div> </template> 定义 data() { return { modelUrl: ...
分类:其他好文   时间:2021-03-16 14:03:20    阅读次数:0
Intellij 集成 Jenkins Control Plugin 插件使用
下载Jenkins Control Plugin 地址 Intellij中设置Jenkins 其中Crumb Data请求方式为:http://URL/crumbIssuer/api/json?tree=crumb.返回中即包含指定数据,如: { "_class": "org.jenkinsci.p ...
分类:其他好文   时间:2021-03-16 14:02:35    阅读次数:0
jquery中$.ajax参数详解
1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。 3.timeout: 要求为Number类型的 ...
分类:Web程序   时间:2021-03-16 13:48:26    阅读次数:0
59195条   上一页 1 ... 39 40 41 42 43 ... 5920 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!