python 学习中 —— Django 3.1 中间件配置错误 TypeError: object() takes no parameters

NoSuchKey