Ami*_*dav 1 django django-authentication
我需要有两个不同的登录/注册系统.
1: One for the general user.
2: Second for the Channels admin.
Both will have different email id, password etc in two different tables.
For the general user it will go in the `auth_user` table and for the channel
it I'd be creating another different models/table.
Run Code Online (Sandbox Code Playgroud)
我知道django提供了一个完整的身份验证系统,我可以为普通用户使用.但是如何同时在渠道管理员的情况下实现相同的功能呢?
我试着查看django的文档中的AUTHENTICATION_BACKENDS和AUTH_USER_MODEL,
我无法理解如何为频道管理部分设置会话.
所以,如果有人能够让我知道如何以及如何同时实现这两者的方法.