Skip to content
Browse files

comment out send_email for now

  • Loading branch information...
1 parent 60857a9 commit e85aa949b64c9fe0946af7be3fa3991059174d85 @lukeman lukeman committed
Showing with 13 additions and 12 deletions.
  1. +13 −12 symposion/proposals/views.py
View
25 symposion/proposals/views.py
@@ -128,25 +128,26 @@ def create_speaker_token(email_address):
speaker, token = create_speaker_token(email_address)
message_ctx["token"] = token
# fire off email to user to create profile
- send_email(
- [email_address], "speaker_no_profile",
- context = message_ctx
- )
+ # send_email(
+ # [email_address], "speaker_no_profile",
+ # context = message_ctx
+ # )
else:
+ pass
# fire off email to user letting them they are loved.
- send_email(
- [email_address], "speaker_addition",
- context = message_ctx
- )
+ # send_email(
+ # [email_address], "speaker_addition",
+ # context = message_ctx
+ # )
else:
speaker, token = create_speaker_token(email_address)
message_ctx["token"] = token
# fire off email letting user know about site and to create
# account and speaker profile
- send_email(
- [email_address], "speaker_invite",
- context = message_ctx
- )
+ # send_email(
+ # [email_address], "speaker_invite",
+ # context = message_ctx
+ # )
proposal.additional_speakers.add(speaker)
messages.success(request, "Speaker added to proposal.")
return redirect("proposal_speaker_manage", proposal.pk)

0 comments on commit e85aa94

Please sign in to comment.
Something went wrong with that request. Please try again.