1、問題:django 2.1+redis2.4.6使用“from django.contrib.auth import authenticate, login”底層的login方法報錯“redis.exceptions.ResponseError: wrong number of arguments for 'set' command”
2、解決方法:安裝一個版本高的redis即可解決(樓主裝的為redis3.2)
3、樓主分享一個redis3.2百度云鏈接:https://pan.baidu.com/s/1mEuvQ3wISU8PTZhNVY5tyQ 密碼:lit9