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