()
用当前wechat-django默认的adminsite替代django自带的默认adminsite
用当前wechat-django默认的adminsite替代django自带的默认adminsite
用当前wechat - django默认的adminsite替代django自带的默认adminsite
def patch_admin():
    """用当前wechat-django默认的adminsite替代django自带的默认adminsite"""
    default_site.from_site(admin.site)
    setattr(admin.sites, "site", default_site)
    setattr(admin, "site", default_site)
def patch_admin ( ) : default_site . from_site ( admin . site ) setattr ( admin . sites , "site" , default_site ) setattr ( admin , "site" , default_site )