2019年7月13日
摘要:
1.配置yum源:上传epel.repo yum clean all yum update 安装ansible 查询是否有ansible yum list *ansile 查看该ansible的信息 yum info ansible.noarch 安装ansible yum install ansi
阅读全文
posted @ 2019-07-13 00:46
SZ_文彬
阅读(261)
推荐(0)
2019年7月12日
摘要:
https://www.cnblogs.com/Dicky-Zhang/p/6925202.html 安装 yum install docker -y 无法启动docker vim /etc/sysconfig/doc ker OPTIONS='--selinux-enabled=false 镜像源
阅读全文
posted @ 2019-07-12 20:00
SZ_文彬
阅读(367)
推荐(0)
2019年7月9日
摘要:
程序目录 models.py from django.db import models# Create your models here.class Category(models.Model): caption_c=models.CharField(max_length=16)# class Ar
阅读全文
posted @ 2019-07-09 23:27
SZ_文彬
阅读(185)
推荐(0)
摘要:
content="""<p class='c1' id='i1'> asdfaa<span class='c2' style="font-family:NSimSun;">sdf<a>a</a>sdf</span>sdf</p><p> <strong class='c2' id='i2'>asdf<
阅读全文
posted @ 2019-07-09 13:26
SZ_文彬
阅读(315)
推荐(0)
2019年7月8日
摘要:
本地端 url: url(r'req/',a2.req), commons.js alert(123); views.py from django.shortcuts import renderimport requests# Create your views here.def req(reque
阅读全文
posted @ 2019-07-08 17:42
SZ_文彬
阅读(227)
推荐(0)
2019年7月2日
摘要:
程序目录 models.py from django.db import models# Create your models here.class UserType(models.Model): caption=models.CharField(max_length=32)class UserGr
阅读全文
posted @ 2019-07-02 23:36
SZ_文彬
阅读(161)
推荐(0)
摘要:
Form验证 UserInfoForm --> Form -->BaseForm(is_valid...) UserInfoModelForm -->ModelForm -->BaseModelForm -->BaseForm(is_valid...)提交表单报错:RuntimeError: You
阅读全文
posted @ 2019-07-02 23:35
SZ_文彬
阅读(171)
推荐(0)
摘要:
程序目录 models.py from django.db import models# Create your models here.class UserInfo(models.Model): user=models.CharField(max_length=32) urls.py """s14
阅读全文
posted @ 2019-07-02 23:32
SZ_文彬
阅读(436)
推荐(0)
摘要:
views request.body request.POST(request.body) request.FILES(request.body) request.GET request.XXX.getlist request.Meta(...) request.method(POST,GET,PU
阅读全文
posted @ 2019-07-02 23:30
SZ_文彬
阅读(167)
推荐(0)
2019年6月27日
摘要:
程序目录 urls.py """s14_day21 URL Configuration"""from django.contrib import adminfrom django.conf.urls import url,includefrom app01 import viewsurlpatter
阅读全文
posted @ 2019-06-27 19:58
SZ_文彬
阅读(245)
推荐(0)