from django.shortcuts import HttpResponse, render, redirect

def yimi(request):

  #直接返回页面内容

  return HttpResponse('fdafdsafsadfsa')

  #返回特定的页面

  return render(request, 'yimi.html')

  #跳转

  redirect( 'www.baidu.com' )

最新文章

  1. MarkDown+LaTex 数学内容编辑样例收集
  2. 网站添加第三方登陆(PHP版)
  3. 箭头函数 Arrow Functions/////////////////////zzz
  4. poj 1845 数论综合
  5. [百科] - CreatePen()
  6. Guid 的几种形式
  7. 阿里云的esc
  8. Linux Shell编程(5)——shell特殊字符(下)
  9. 博弈论之Nim
  10. Jquery 源码学习
  11. 剖析WPF数据绑定机制
  12. Jquery 使用Ajax获取后台返回的Json数据后,页面处理
  13. Lua中字符串库中的几个重点函数
  14. springboot的jar包
  15. ajax 提交Dictionary
  16. Python 数据结构--查找
  17. https证书的验证过程与生成方法
  18. 自己在完第一遍STL和Directx 9.0 游戏开发编程基础书后的体会
  19. Spring ApplicationContext(六)BeanPostProcessor
  20. 可编辑树Ztree的使用(包括对后台数据库的增删改查)

热门文章

  1. shelve模块 xml模块
  2. 【leetcode】1091. Shortest Path in Binary Matrix
  3. Oracle12c修改时区
  4. ht-1 jdk calendar类
  5. shell学习----正则表达式
  6. Python_005(字典无极坑)
  7. if和switch的选择结构
  8. git commit --amend用法(摘抄)
  9. java文件转码
  10. hbuilder+vue单页应用打包成APP后退按钮返回上一页的问题