我不能让django-guardian assign_perm在南方数据移民工作...它不工作的原因似乎是因为守护者没有使用冻结的ORM。我如何才能让其他应用程序和django-guardian特别使用冻结模型。
发布于 2014-11-25 23:29:49
我使用的是get_user_model()而不是orm['auth.User']
get_user_model()
orm['auth.User']
https://stackoverflow.com/questions/17932649
相似问题