Signup email and other model fields
This commit is contained in:
+2
-1
@@ -91,10 +91,11 @@ def send_email(to, subject, body, html=False):
|
||||
logging.exception('Failed to send email.')
|
||||
|
||||
|
||||
def send_signup_email(to, subject, id, uuid):
|
||||
def send_signup_email(to, subject, id, uuid, content):
|
||||
message = render_to_string(
|
||||
'webapp:signup_email.html', {
|
||||
'url': f"https://{FRONTEND_URL}/signup/edit/{id}/{uuid}",
|
||||
'content': content,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user