码迷,mamicode.com
首页 >  
搜索关键字:bee framework    ( 13237个结果
rest_framework请求和响应
请求对象Request from rest_framework.request import Request # 该Request没有继承django原生的HttpRequest REST framework 传入视图的request对象不再是Django默认的HttpRequest对象,而是RES ...
分类:其他好文   时间:2020-07-19 23:27:32    阅读次数:88
rest_framework视图家族
表与序列化类准备 models.py from django.db import models # Create your models here. class Book(models.Model): name = models.CharField(max_length=32) price = mo ...
分类:其他好文   时间:2020-07-19 23:27:00    阅读次数:62
springcloud01-SpringCloud 概述
SpringCloud 概述 SpringCloud,基于SpringBoot提供了一套微服务解决方案,包括服务注册与发现,配置中心,全链路监控,服务网关,负载均衡,熔断器等组件,除了基于NetFlix的开源组件做高度抽象封装外,还有一些选型中立的开源组件 SpringCloud里SpringBoo ...
分类:编程语言   时间:2020-07-19 21:12:44    阅读次数:79
C#5
C#5.0 异步编程 调用方信息特性 异步编程 在.NET Framework中,有三种不同的模型来简化异步编程。 .NET1.x中的异步编程模型(APM)方式(类似Beginxx/Endxx方法,使用IAsyncResult和AsyncCallback来传播回调和结果) .NET2.0中的基于事件 ...
分类:Windows程序   时间:2020-07-19 18:04:23    阅读次数:192
DRF框架之mixins
一、ListModelMixin 1.引入方式 from rest_framework.mixins import ListModelMixin 2.源码对比 我们可以发现,两处的代码基本一致,因此我们直接拿到使用来优化本地代码 3.使用方法 a.视图类继承ListModelMixin b.get方 ...
分类:其他好文   时间:2020-07-19 17:58:24    阅读次数:68
DRF框架GenericAPIView之排序查询
一、使用方法 1.引入方式 from rest_framework.filters import OrderingFilter 2.添加引擎 将OrderingFilter引擎添加到filter_backends列表中,也可以添加到全局 filter_backends = [DjangoFilter ...
分类:编程语言   时间:2020-07-19 00:56:09    阅读次数:94
DRF框架GenericAPIView之过滤查询
GenericAPIView为APIView的子类,它拓展了过滤、查询、分页的功能,本章主要介绍过滤的使用方法 一、引入方式 from rest_framework.generics import GenericAPIView 二、GenericAPIView 视图继承GenericAPIView ...
分类:Windows程序   时间:2020-07-19 00:47:18    阅读次数:129
spring 注解实现自动装配
官网:https://docs.spring.io/spring/docs/5.2.7.RELEASE/spring-framework-reference/core.html#beans-annotation-config 1、导入约束 2、配置注解支持 <?xml version="1.0" e ...
分类:编程语言   时间:2020-07-19 00:44:39    阅读次数:89
彻底禁用咱的Win10电脑更新
一、关闭Windows Update服务 右键“此电脑”>“管理” 找到Windows Update服务双击打开,服务状态>停止,服务类型>禁用 “恢复”选项卡,三项全部选择“无操作” 二、关闭windows update medic service服务 命令行运行(管理模式) 1 REG add ...
分类:Windows程序   时间:2020-07-18 22:41:01    阅读次数:105
spring DI依赖注入
1、官网 https://docs.spring.io/spring/docs/5.2.7.RELEASE/spring-framework-reference/core.html#beans-dependencies 2、构造器注入(前面有) 3、Set方式注入(重点) A、依赖 : bean对象 ...
分类:编程语言   时间:2020-07-18 22:25:29    阅读次数:84
13237条   上一页 1 ... 29 30 31 32 33 ... 1324 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!