当前位置:网站首页>Supplementary knowledge of attributes and methods of regular, JWT token, ronglianyun, celery, channel group, SKU, SPU, request object
Supplementary knowledge of attributes and methods of regular, JWT token, ronglianyun, celery, channel group, SKU, SPU, request object
2022-07-19 01:24:00 【Wbig】
?P Group matching in regular
[/^[email protected]#$%] Non [email protected]#¥%
? Non greedy matching
+ Repeat , Greedy matching
re.I Ignore case
The user login :
- JWT
- Conversation retention ? Why does the conversation remain ?
Session persistence is one of the most common problems in load balancing , It's also a relatively complicated problem . Sometimes the conversation keeps Waiting is also called sticky conversation
- What are the traditional conversation maintenance ?
- be based on session Keep your conversation , What's the problem ?
- Jwt token Usage flow , Can be solved session The problem of
- Djangorestframework-jwt
obtain_jwt_token The view function
be based on django Built in authentication function
authenticate(username=username,password=password)
return user object or return None
- Rong Lianyun Send SMS verification code
Celery Send SMS asynchronously
Celery Introduce : be based on python Asynchronous task queue
Sync : And queue , After one is executed, the other will handle
asynchronous : Are independent of each other , There's no need to line up
Dealing with time-consuming tasks , Scheduled tasks , Distributed reptiles, etc
Channel group : Group according to the type of data , Similar things are grouped together . A grouping of similar things . Things are divided into groups according to similar attributes .
Infinite classification : Infinite classification simply means that a class can be divided into multiple subclasses , Then a subclass can be divided into other subclasses, which can be divided infinitely . Classify the data many times .
SKU: A unit of stock
SPU: Standardized product unit
MVC:M( Model )V( View )C( controller )
MVVM:M( Model )V( View )VM( Yes M,V Binding in both directions )
request Properties and methods of objects :
request.method: How to get the request
request.path: Get the current access path
call .split() It returns a list
边栏推荐
猜你喜欢

Oracle 数据库启动和关闭步骤

Recording multiple environments at a time leads to code bugs

CobalStrike的部署(附带资源)

Oracle 数据库架构

使用Pytorch中的nn来实现线性回归(简洁实现)
![Eye of depth III - (7)] mathematics: application of SVD decomposition](/img/18/f69d012ebadf2c7aedfbea40ae1cf5.png)
Eye of depth III - (7)] mathematics: application of SVD decomposition

Detailed evaluation of current popular redis visual management tools

深度之眼三——(7,8)】数学:矩阵对角化及二次型2.3

深度之眼三——(7)】数学:svd分解的应用

Lambda related graphics
随机推荐
从catf1ag 两小时AK赛 PWN/ATTACK 查杀总结应急响应常用命令指南
C Programming Language (2nd Edition)--读书笔记--1.5.3
Eye of depth III - (3)] mathematics: matrix eigenvalue and eigenvector 1
两表连接进行增删改查
C Programming Language (2nd Edition)--读书笔记--1.3
Meaning of AP
Eye of depth III - (7)] mathematics: application of SVD decomposition
Detailed explanation of groupby
西瓜书第四章
使用Pytorch中的nn来实现线性回归(简洁实现)
flutter项目中 advance_image_picker 组件使用
Maker-鸿蒙应用开发培训笔记03
Swagger related graphics
Oracle database parameter change
深度之眼三——(6)】数学:矩阵对角化及二次型1
1.互联网基础
C Programming Language (2nd Edition)--读书笔记--1.5.2
Add, delete, modify and check the connection between the two tables
Oracle 数据库参数更改
Initial understanding of functions - Part 1