阅读背景:

用户类型在Django中使用相同的登录和注册表单

来源:互联网 

I've been hitting my head for the best way to implement this. I want to create two user type in my django site: Free and Premium users. Both users will register through the same registration form and login through the same login form. But will be able to view different content. Do you think @user_passes_test will be the best for this? Or what is the best way to implement this?I've been hitting my head for the best way to i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: