解决TypeError: int() argument must be a string or a number, not 'WSGIRequest'

 运行Django项目时:

 解决如下:

猜你喜欢

转载自blog.csdn.net/lezeqe/article/details/87968055