摘要:
其意思是:yum中不存在这个包 所以解决办法是 1.更新yum 更新yum仓库: yum -y update 2.查看包名在yum中是什么 yum search all crontabs 阅读全文
posted @ 2019-12-05 23:04
Mr_Riven
阅读(1065)
评论(0)
推荐(0)
摘要:
一对多关联2张表的方法 from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey class PricePol 阅读全文
posted @ 2019-12-05 16:07
Mr_Riven
阅读(294)
评论(0)
推荐(0)
摘要:
1.创建一个视图 from rest_framework import exceptions from app01 import models from rest_framework.authentication import BaseAuthentication class TokenAuth(B 阅读全文
posted @ 2019-12-05 13:29
Mr_Riven
阅读(274)
评论(0)
推荐(0)
摘要:
功能: // 页面跳转后发送ajax请求给后端 请求详细信息 //点击课程推荐跳转到推荐课程详细 // 页面刚加载立即执行函数 = mounted <template> <div> <img :src="detail.img" /> <h1>{{ detail.title }}</h1> <h3>{ 阅读全文
posted @ 2019-12-05 10:27
Mr_Riven
阅读(1099)
评论(0)
推荐(0)
摘要:
1.换成下面这个网址 https://github.com/pypa/pip/issues/5236 2.下载最新的pip 3. 然后换回 https://pypi.org/simple/ 阅读全文
posted @ 2019-12-05 09:36
Mr_Riven
阅读(197)
评论(0)
推荐(0)

浙公网安备 33010602011771号