码迷,mamicode.com
首页 >  
搜索关键字:shortcuts    ( 327个结果
服务系统 server端
from django.shortcuts import render,HttpResponse import json # Create your views here. from repository import models from aip.plugins import Plugins d ...
分类:其他好文   时间:2017-10-01 20:36:30    阅读次数:249
CMDB硬件信息管理系统开发(三)
完成任务: 1、API验证。 1 import json 2 from django.shortcuts import render, HttpResponse 3 from django.views.decorators.csrf import csrf_exempt 4 from .plugin ...
分类:数据库   时间:2017-10-01 19:01:56    阅读次数:262
分页,缓存,序列化,信号
一、分页 1、Django内置分页 from django.shortcuts import render from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger L = [] for i in range(9 ...
分类:其他好文   时间:2017-09-21 16:39:41    阅读次数:219
django常用封装
#encoding:utf-8from django.shortcuts import render_to_responseimport hashlibfrom binascii import b2a_hex def GetData(request,key): ''' 获取GET与Post提交参数的 ...
分类:其他好文   时间:2017-09-17 23:31:36    阅读次数:227
Win7常用但是被忽略的快捷键
General keyboard shortcuts 1.Ctrl + Right Arrow Move the cursor to the beginning of the next word 向右移动光标到下个文字开始 2.Ctrl + Left Arrow Move the cursor to ...
分类:Windows程序   时间:2017-09-16 23:22:42    阅读次数:286
CBV和FBV
from django.shortcuts import render,HttpResponsefrom django.views import View# Create your views here.class LoginView(View): #form表单提交请求只能是get post #a ...
分类:其他好文   时间:2017-09-15 16:43:09    阅读次数:132
Linux下设置快捷键
以设置终端为例,进入Settings>>Keyboard>>Custom Shortcuts,点左下脚的+号,Name栏填入Treminal,command栏填入gnome-terminal,点击Add,然后发现快捷键新增了一栏Terminal..........Disable,点击Disable, ...
分类:系统相关   时间:2017-09-04 11:04:29    阅读次数:239
Django之用户认证功能
前言 做web应用对登录做用户身份认证,然后设置session是比不可少的,因为我们就需要把有权限访问本站视图的用户,单独建一张表记录到数据库里; Django作为一个大而全的框架,已经为我们做好了这些准备; from django.shortcuts import render,HttpRespo ...
分类:其他好文   时间:2017-09-03 22:07:08    阅读次数:120
shortcuts
关闭选项卡 Ctrl+W 关闭当前窗口 alt + F4 alt + 空格 + c alt + 空格 + n 最小化窗口 alt + 空格 + x 最大化窗口 ALT+F4 关闭当前应用程序 ctrl + n 新建文件 ctrl + shift + n 新建文件夹 Windows键+M 最小化所有被 ...
分类:其他好文   时间:2017-08-16 17:20:38    阅读次数:150
1111
a. Agent ####server from django.shortcuts import render,HttpResponse # Create your views here. def asset(request): if request.method == "POST": print( ...
分类:其他好文   时间:2017-07-26 17:44:08    阅读次数:448
327条   上一页 1 ... 17 18 19 20 21 ... 33 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!