You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
myblog/middleware/RegisterMiddleware.py

6 lines
225 B

from django.utils.deprecation import MiddlewareMixin
# 配置用户注册时的中间件,用于检查用户输入内容是否合法
class RegMiddleware(MiddlewareMixin):
def process_request(self, request):
pass