- 博客(15)
- 收藏
- 关注
原创 2021-09-01
from django.contrib.auth.hashers import make_password from rest_framework import serializers from django.contrib.auth.models import User from rest_framework.validators import UniqueValidator from rest_framework_jwt.serializers import jwt_payload_handler, j
2021-09-01 23:15:21 163
原创 2021-08-31
“”" Django settings for dev08 project. Generated by ‘django-admin startproject’ using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://do
2021-08-31 07:12:14 167
原创 2021-08-25
package com.evcar.utils; import java.lang.reflect.Type; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.u
2021-08-25 23:29:10 404
原创 2021-08-25
C:\Users\windows\444\dev08\dev08\urls.py """dev08 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: f
2021-08-25 23:18:36 165
原创 2021-08-24
from rest_framework.pagination import PageNumberPagination as _PageNumberPagination class PageNumberPagination(_PageNumberPagination): page_size = 4 page_query_param = 'page' page_query_description = '指定获取的页码' page_size_query_param = 'pa
2021-08-24 07:07:08 84
原创 2021-08-23
# -*- coding: utf-8 -*- """ """ from rest_framework import serializers from rest_framework import validators from .models import Projects from interfaces.models import Interfaces class InterfaceSeri(serializers.Serializer): id = serializers.Integer
2021-08-23 00:33:04 81
原创 2021-08-18
""" Django settings for dev08 project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https:/
2021-08-18 23:50:40 89
原创 2021-08-16
C:\Users\windows\Downloads\111\dev08\dev08\urls.py """dev08 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an
2021-08-16 23:26:21 117
原创 001完成创建更新删除查询数据
from django.db.utils import IntegrityError from django.http import HttpResponse,JsonResponse from django.shortcuts import render import json from projects.models import Project from django.forms.models import model_to_dict # Create your views here. from
2021-08-09 21:53:33 57
原创 哈哈嘻嘻1
from django.db.utils import IntegrityError from django.http import HttpResponse,JsonResponse from django.shortcuts import render import json from projects.models import Project from django.forms.models import model_to_dict # Create your views here. from
2021-08-02 23:42:21 74
原创 2021-08-02
from django.db.utils import IntegrityError from django.http import HttpResponse,JsonResponse from django.shortcuts import render import json from projects.models import Project from django.forms.models import model_to_dict # Create your views here. from
2021-08-02 00:54:09 280
原创 2021-07-29
from django.db import modelsclass People(models.Model):""“1、必须得继承Model或者Model子类2、一个ORM模型类就对应了一个数据库中的一张表3、在ORM模型类中定义类属性,并且类属性必须得失Field的子类,与数据表中的字段进行对象4、CharField类与mysql中的varchar对应,并且必须得指定max_length参数(指定当前字段的最大字节数)5、IntegerField类与mysql中integer对应为整型6、ORM模型类会自
2021-07-29 16:22:05 60
原创 excel处理
package utils; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util
2021-07-20 23:02:48 76
原创 00100
20210621_vue的基本语法 demo1_js操作页面元素.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> .title{ color: red; font-size: 30px; } </style> <
2021-07-07 00:16:05 310
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人