Skip to content

Commit

Permalink
Pass message_to_sender when sending a test contract
Browse files Browse the repository at this point in the history
  • Loading branch information
ssinger committed Nov 3, 2024
1 parent 5b0c19a commit 20a9753
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions postgresqleu/confsponsor/backendviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ def send_test_sponsorship_contract(request, urlname, contractid):
contract.fieldjson,
2, # expires_in
test=True,
message_to_sender="TEST The contract sponsorship of {} has been signed by {}. It is now time for the organizers to countersign, but remember this is a test only".format
(
conference.conferencename, form.cleaned_data['recipientname']
)
)
if error:
form.add_error(None, 'Failed to send test contract: {}'.format(error))
Expand Down

0 comments on commit 20a9753

Please sign in to comment.