[英]Selective user registration using django_registration?
I have a site catering to multiple clubs, and each club has administrators who maintain a database of club members. 我有一个可以满足多个俱乐部需求的网站,每个俱乐部都有管理者维护着俱乐部成员数据库。 I want to limit site registration only to members who have explicitly been added to the club's database.
我只想将网站注册仅限于已明确添加到俱乐部数据库中的会员。 How do I go about auto-generating and sending out registration links to members as they are added to the database?
当成员添加到数据库时,如何自动生成和发送注册链接给成员? In other words, I want registration to be initiated only by club administrators.
换句话说,我希望注册仅由俱乐部管理员发起。
You said you have a database of club members already, so you must have a primary key or a tuple which is unique for that database like a club registration number which club members should know already 您说您已经有一个俱乐部会员数据库,所以您必须拥有一个该数据库唯一的主键或元组,例如俱乐部会员应该已经知道的俱乐部注册号
To limit registrations to people already in the database, you will need some way to identify them. 要将注册限制为数据库中已有的人员,您将需要某种方式来识别他们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.