继承user表需要配置


AUTH_USER_MODEL = 'users.User'   (应用名。模型类名)

猜你喜欢

转载自www.cnblogs.com/duaimili/p/9999074.html
今日推荐