摘要: users.views.py from django.contrib.auth.backends import ModelBackend from django.db.models import Q class CustomAuth(ModelBackend): def authenticate(s 阅读全文
posted @ 2019-12-09 17:35 渱尘 阅读(164) 评论(0) 推荐(0) 编辑