06 2017 档案
摘要:一. cookie a. 简单应用 def login(request): if request.method=="GET": return render(request,"login.html") else: name = request.POST.get("name") password = r
阅读全文
摘要:一. 基本配置 1. 数据库 2. 模版 3. 静态文件 4. 新增APP 二. 路由配置系统(URLconf) 1. 单一路由对应 2. 基于正则的路由 ############################无命名 # () 相当于传参数 url(r'^index/(\d{4})',views.
阅读全文
摘要:1. 一对一 班级 模态增加 编辑 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .hide{ display: none; } .shadow{ positio
阅读全文
摘要:create database student_info default character set utf8 collate utf8_general_ci; 班级表 create table class( cid int not null auto_increment primary key,
阅读全文
摘要:一. PyMysql 链接地址 二. 事务 a.数据库开启事务命令 create table account( id int, name varchar(32), balance double); insert into account values(1,"alex",8000); insert i
阅读全文
摘要:一. pymysql import pymysql conn = pymysql.connect(host="10.37.129.3",port=3306,user="egon",passwd="123456",db="homework",charset="utf8") cursor = conn.
阅读全文
摘要:一. 表结构和数据 作业要求 /* Navicat Premium Data Transfer Source Server : localhost Source Server Type : MySQL Source Server Version : 50624 Source Host : local
阅读全文
摘要:一. win安装 二. 用户管理 a. 用户管理 b. 授权管理 all privileges 除grant外的所有权限 select 仅查权限 select,insert 查和插入权限 ... usage 无访问权限 alter 使用alter table alter routine 使用alte
阅读全文
浙公网安备 33010602011771号