简体   繁体   中英

How can I send email to admin for approval or deny, When new user register in website using django?

I am creating a website that allows the user to get direct communication with other member but the new user needs to get approval to login website. Now I want to send an email to admin with new user's bio and approve or deny the link.

您可能可以使用Signals( https://docs.djangoproject.com/en/dev/topics/signals/ )来保存新的用户对象,然后通过电子邮件发送链接( https://docs.djangoproject .com / en / dev / topics / email / ),以批准或拒绝用户。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM