Appearance
user_obj = MyUserInfo.objects.extra( where=['binary username=%s','binary password=%s'], params=[username,pwd]).first()
https://docs.djangoproject.com/zh-hans/4.1/ref/models/querysets/#extra