05 2017 档案

摘要:初学django分页, 变量名写的太随意见谅. 1 view.py 2 3 def Index(request,page): 4 page = common(page,1) 5 pageDataCount = 20 6 #data 7 data = models.Host.objects.all() 8 #传入数据量,当前页码数,每页显示... 阅读全文
posted @ 2017-05-26 16:22 eternal memo 阅读(212) 评论(0) 推荐(0)
摘要:1 import React from 'react'; 2 import ReactDom from 'react-dom'; 3 import {Slider, Button, Menu, Icon} from 'antd'; 4 import 'antd/lib/slider/style'; 5 import 'antd/lib/button/style'; 6 import ... 阅读全文
posted @ 2017-05-12 10:37 eternal memo 阅读(6201) 评论(0) 推荐(0)
摘要:python > shell 可以模仿*unix下 的EOF 命令,实现封装输入,比较简单 官网 : https://shell.readthedocs.io/en/latest/tutorial.html 阅读全文
posted @ 2017-05-11 10:08 eternal memo 阅读(1438) 评论(0) 推荐(0)