07 2023 档案

摘要:- url: http://v.juhe.cn/jztk/query method: post code_massage: ok data: key: e6966b84b09205fe863980c562854acd subject: 1 model: c1- url: http://v.juhe. 阅读全文
posted @ 2023-07-31 17:12 马越月 阅读(5) 评论(0) 推荐(0) 编辑
摘要:import unittestfrom BeautifulReport import BeautifulReportfrom testcases.query import testdemodef allTests(): suite=unittest.TestSuite() loder=unittes 阅读全文
posted @ 2023-07-28 15:52 马越月 阅读(7) 评论(0) 推荐(0) 编辑
摘要:from projecttest.demo import Basecasefrom ddt import ddt,data,unpack,file_dataimport unittestfrom common.mylogger import logger@ddtclass testdemo(Base 阅读全文
posted @ 2023-07-28 15:51 马越月 阅读(7) 评论(0) 推荐(0) 编辑
摘要:{ "positive_integer_range": { "url": "http://apis.juhe.cn/simpleWeather/query", "method": "get", "code_massage": "查询成功", "params": { "city":"苏州", "key 阅读全文
posted @ 2023-07-28 15:49 马越月 阅读(38) 评论(0) 推荐(0) 编辑
摘要:import unittest,requestsimport yamlfrom common.mylogger import loggerclass Basecase(unittest.TestCase): def request_token(self): pass def request(self 阅读全文
posted @ 2023-07-28 15:47 马越月 阅读(4) 评论(0) 推荐(0) 编辑
摘要:from django.utils.deprecation import MiddlewareMixinfrom django.shortcuts import render,redirectclass MyMiddleware(MiddlewareMixin): def process_reque 阅读全文
posted @ 2023-07-25 11:37 马越月 阅读(7) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html><html><head><meta charset="utf-8"><title>图书馆</title></head><style>input[type=text], select { width: 100%; padding: 12px 20px; margin: 8 阅读全文
posted @ 2023-07-25 11:36 马越月 阅读(57) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style>body{background-image:url('/static/img/21.jpeg');} .button { 阅读全文
posted @ 2023-07-25 11:35 马越月 阅读(6) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>注册</title> 阅读全文
posted @ 2023-07-25 11:34 马越月 阅读(8) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html><html><head><meta charset="utf-8"><title>图书馆</title></head><style>input[type=text], select { width: 100%; padding: 12px 20px; margin: 8 阅读全文
posted @ 2023-07-25 11:33 马越月 阅读(136) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style>body{background-image:url('/static/img/21.jpeg');} .button { 阅读全文
posted @ 2023-07-25 11:33 马越月 阅读(5) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>登录</title> 阅读全文
posted @ 2023-07-25 11:32 马越月 阅读(5) 评论(0) 推荐(0) 编辑
摘要:from django.shortcuts import render,redirectfrom firstapp import models# Create your views here.from firstapp.models import UserInfodef fristhtml(requ 阅读全文
posted @ 2023-07-25 11:26 马越月 阅读(9) 评论(0) 推荐(0) 编辑
摘要:from django.db import models# Create your models here.class UserInfo(models.Model): name=models.CharField(verbose_name="姓名",max_length=20) pwd=models. 阅读全文
posted @ 2023-07-25 11:25 马越月 阅读(17) 评论(0) 推荐(0) 编辑
摘要:"""URL configuration for myproject project.The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.co 阅读全文
posted @ 2023-07-25 11:22 马越月 阅读(7) 评论(0) 推荐(0) 编辑
摘要:"""Django settings for myproject project.Generated by 'django-admin startproject' using Django 4.2.2.For more information on this file, seehttps://doc 阅读全文
posted @ 2023-07-25 11:22 马越月 阅读(10) 评论(0) 推荐(0) 编辑
摘要:创建:django-admin.py startproject xxxapp创建:python manage.py startapp xxx启动:python3 manage.py runserver数据库:python3 manage.py makemigrations python3 manag 阅读全文
posted @ 2023-07-25 11:18 马越月 阅读(5) 评论(0) 推荐(0) 编辑
摘要:import randomfrom PIL import Image,ImageDraw,ImageFont,ImageFilterdef check_code(width=120, height=30, char_length=5, font_file='kumo.ttf', font_size= 阅读全文
posted @ 2023-07-25 11:15 马越月 阅读(19) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示