xadmin 调用登录报错信息 :takes 0 positional argument but 2 were given解决方法

解决:

因为函数没有使用self

原文地址:https://www.cnblogs.com/yanhuidj/p/10832779.html