Django中使用locals()函数的技巧 对 current_datetime 的一次赋值操作: def current_datetime(request): now = datetime datetime now python编程 2022-04-05 135 点赞 2 评论 204 浏览